pub unsafe extern "C" fn b2Body_SetTargetTransform(
bodyId: b2BodyId,
target: b2Transform,
timeStep: f32,
wake: bool,
)Expand description
Set the velocity to reach the given transform after a given time step. The result will be close but maybe not exact. This is meant for kinematic bodies. The target is not applied if the velocity would be below the sleep threshold and the body is currently asleep. @param bodyId The body id @param target The target transform for the body @param timeStep The time step of the next call to b2World_Step @param wake Option to wake the body or not