b2w_createBody function
Create a body of bodyType (a B2W_BODY_* value) at (posX, posY), turned by angle. Returns its handle; 0 when the world has gone.
Implementation
@ffi.Native<
ffi.Int64 Function(ffi.Int64, ffi.Int32, ffi.Float, ffi.Float, ffi.Float)
>()
external int b2w_createBody(
int worldHandle,
int bodyType,
double posX,
double posY,
double angle,
);