pub unsafe extern "C" fn b2CreateCapsuleShape(
bodyId: b2BodyId,
def: *const b2ShapeDef,
capsule: *const b2Capsule,
) -> b2ShapeIdExpand 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, this will be b2_nullShapeId if the length is too small.