b2w_setBodySleepEnabled function
void
b2w_setBodySleepEnabled()
Allow the body to sleep (enabled != 0, the default) or keep it awake for as long as it exists.
Implementation
@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Int32)>()
external void b2w_setBodySleepEnabled(int bodyHandle, int enabled);