pub unsafe extern "C" fn b2CreatePolygonShape(
bodyId: b2BodyId,
def: *const b2ShapeDef,
polygon: *const b2Polygon,
) -> b2ShapeIdExpand description
Create a polygon 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