b2Body_SetTransform

Function b2Body_SetTransform 

Source
pub unsafe extern "C" fn b2Body_SetTransform(
    bodyId: b2BodyId,
    position: b2Vec2,
    rotation: b2Rot,
)
Expand description

Set the world transform of a body. This acts as a teleport and is fairly expensive. @note Generally you should create a body with then intended transform. @see b2BodyDef::position and b2BodyDef::rotation