Skip to main content

shape_get_body

Function shape_get_body 

Source
pub fn shape_get_body(world: &World, shape_id: ShapeId) -> BodyId
Expand description

Get the id of the body that a shape is attached to. (b2Shape_GetBody)