b2w_setBodyTargetTransform function
Move a kinematic body to a transform over the next timeStep, by giving it the velocity that gets it there. Bodies standing on it are carried along, which teleporting would not do. wake != 0 wakes it.
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Int64,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Int32,
)
>()
external void b2w_setBodyTargetTransform(
int bodyHandle,
double x,
double y,
double angle,
double timeStep,
int wake,
);