b2w_addBoxShape function
Attach a box centred on the body's origin. halfW/halfH are half-extents.
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Int64,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
)
>()
external void b2w_addBoxShape(
int bodyHandle,
double halfW,
double halfH,
double density,
double friction,
double restitution,
);