Skip to main content

b3CreateCapsuleShape

Function b3CreateCapsuleShape 

Source
pub unsafe extern "C" fn b3CreateCapsuleShape(
    bodyId: b3BodyId,
    def: *const b3ShapeDef,
    capsule: *const b3Capsule,
) -> b3ShapeId
Expand description

Create a capsule shape and attach it to a body. The shape definition and geometry are fully cloned. Contacts are not created until the next time step. @return the shape id for accessing the shape