b2w_setBodyType function
void
b2w_setBodyType()
Change a body's type. Expensive, and it sums the mass from the shapes again (call b2w_setBodyMass after it). The type it already has does nothing.
Implementation
@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Int32)>()
external void b2w_setBodyType(int bodyHandle, int bodyType);