Skip to main content

b2Body_GetWorldCenter

Function b2Body_GetWorldCenter 

Source
pub unsafe extern "C" fn b2Body_GetWorldCenter(
    bodyId: b2BodyId,
) -> b2Pos
Expand description

Get the center of mass position of the body in world space.