JPH_BodyInterface_SetGravityFactor function

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

Implementation

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