b2w_createDynamicBody function
Create a dynamic body at (posX, posY), turned by angle. Returns its handle; 0 when the world has gone. Same as b2w_createBody with B2W_BODY_DYNAMIC.
Implementation
@ffi.Native<ffi.Int64 Function(ffi.Int64, ffi.Float, ffi.Float, ffi.Float)>()
external int b2w_createDynamicBody(
int worldHandle,
double posX,
double posY,
double angle,
);