b2Body_GetShapes

Function b2Body_GetShapes 

Source
pub unsafe extern "C" fn b2Body_GetShapes(
    bodyId: b2BodyId,
    shapeArray: *mut b2ShapeId,
    capacity: c_int,
) -> c_int
Expand description

Get the shape ids for all shapes on this body, up to the provided capacity. @returns the number of shape ids stored in the user array