JPH_BodyInterface_SetLinearVelocity function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, Pointer<JPH_Vec3>)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Pointer<JPH_Vec3>)>(isLeaf: true)
void JPH_BodyInterface_SetLinearVelocity(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyID,
  3. Pointer<JPH_Vec3> velocity
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_BodyInterface>,
    JPH_BodyID,
    ffi.Pointer<JPH_Vec3>,
  )
>(isLeaf: true)
external void JPH_BodyInterface_SetLinearVelocity(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyID,
  ffi.Pointer<JPH_Vec3> velocity,
);