JPH_BodyInterface_SetMotionType function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, Int32, Int32)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Int32, ffi.Int32)>(isLeaf: true)
void JPH_BodyInterface_SetMotionType(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyID,
  3. int motionType,
  4. int activationMode,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_BodyInterface>,
    JPH_BodyID,
    ffi.Int32,
    ffi.Int32,
  )
>(isLeaf: true)
external void JPH_BodyInterface_SetMotionType(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyID,
  int motionType,
  int activationMode,
);