pub fn get_shape_index(world: &World, shape_id: ShapeId) -> i32
Validate a ShapeId and return the raw shape index. (b2GetShape — C returns a pointer; Rust returns the index into world.shapes)
world.shapes