b2Shape_SetCapsule

Function b2Shape_SetCapsule 

Source
pub unsafe extern "C" fn b2Shape_SetCapsule(
    shapeId: b2ShapeId,
    capsule: *const b2Capsule,
)
Expand description

Allows you to change a shape to be a capsule or update the current capsule. This does not modify the mass properties. @see b2Body_ApplyMassFromShapes