b2w_setBodySensor function
void
b2w_setBodySensor()
Make the shapes added to the body from now on sensors (isSensor != 0) or solid (0). Call it before adding them: shapes already on the body keep what they are, as Box2D cannot change a shape between the two.
Implementation
@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Int32)>()
external void b2w_setBodySensor(int bodyHandle, int isSensor);