JPH_BodyInterface_SetFriction function
- @Native<Void Function(Pointer<
JPH_BodyInterface> , JPH_BodyID, Float)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Float)>(isLeaf: true)
- Pointer<
JPH_BodyInterface> bodyInterface, - int bodyID,
- 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,
);