JPH_BodyInterface_GetCenterOfMassTransform function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, Pointer<JPH_RMat4>)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Pointer<JPH_RMat4>)>(isLeaf: true)
void JPH_BodyInterface_GetCenterOfMassTransform(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyId,
  3. Pointer<JPH_RMat4> result
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_BodyInterface>,
    JPH_BodyID,
    ffi.Pointer<JPH_RMat4>,
  )
>(isLeaf: true)
external void JPH_BodyInterface_GetCenterOfMassTransform(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyId,
  ffi.Pointer<JPH_RMat4> result,
);