b2w_getBodyMoveEvent function
Read the index-th body that moved, and whether it fell asleep (1) or not (0).
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Int64,
ffi.Int32,
ffi.Pointer<ffi.Int64>,
ffi.Pointer<ffi.Int32>,
)
>()
external void b2w_getBodyMoveEvent(
int worldHandle,
int index,
ffi.Pointer<ffi.Int64> outBodyHandle,
ffi.Pointer<ffi.Int32> outFellAsleep,
);