b2w_setBodyOneWay function
void
b2w_setBodyOneWay()
Make every shape on the body a one-way platform, solid only to what comes from solidFromDirection (a B2W_ONEWAY_FROM_* value; +y down), or solid again (enabled == 0). Applies to the shapes on the body now.
Implementation
@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Int32, ffi.Int32)>()
external void b2w_setBodyOneWay(
int bodyHandle,
int enabled,
int solidFromDirection,
);