JPH_BodyInterface_SetFriction function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, Float)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Float)>(isLeaf: true)
void JPH_BodyInterface_SetFriction(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyID,
  3. double friction
)

Implementation

@ffi.Native<
  ffi.Void Function(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Float)
>(isLeaf: true)
external void JPH_BodyInterface_SetFriction(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyID,
  double friction,
);