Skip to main content

shape_get_sensor_capacity

Function shape_get_sensor_capacity 

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

Get the maximum capacity required for retrieving all the overlapped shapes on a sensor shape. Returns 0 if the shape is not a sensor. (b2Shape_GetSensorCapacity)