Skip to main content

shape_set_capsule

Function shape_set_capsule 

Source
pub fn shape_set_capsule(
    world: &mut World,
    shape_id: ShapeId,
    capsule: &Capsule,
)
Expand description

Allows you to change a shape to be a capsule or update the current capsule. (b2Shape_SetCapsule)