Skip to main content

shape_get_chain_segment

Function shape_get_chain_segment 

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

Get a copy of the shape’s chain segment. These come from chain shapes. Asserts the type is correct. (b2Shape_GetChainSegment)