b2CreateCircleShape

Function b2CreateCircleShape 

Source
pub unsafe extern "C" fn b2CreateCircleShape(
    bodyId: b2BodyId,
    def: *const b2ShapeDef,
    circle: *const b2Circle,
) -> b2ShapeId
Expand description

Create a circle 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