jj_get_active_transforms function
Writes the bodies that are moving (awake, not static), and those that fell asleep since the last call, JJ_TRANSFORM_FLOATS floats each. Characters' bodies are left out. Returns how many were written; when capacity is too small, writes nothing and returns minus the number needed.
Implementation
@ffi.Native<
ffi.Int32 Function(
ffi.Int64,
ffi.Pointer<ffi.Int64>,
ffi.Pointer<ffi.Float>,
ffi.Int32,
)
>(isLeaf: true)
external int jj_get_active_transforms(
int world,
ffi.Pointer<ffi.Int64> outBodies,
ffi.Pointer<ffi.Float> out,
int capacity,
);