Skip to main content

shape_get_sensor_data

Function shape_get_sensor_data 

Source
pub fn shape_get_sensor_data(
    world: &World,
    shape_id: ShapeId,
    capacity: usize,
) -> Vec<ShapeId>
Expand description

Overlapped shapes for a sensor. Overlaps may contain destroyed shapes — use super::shape_is_valid to confirm each. (b3Shape_GetSensorData; docs also call this GetSensorOverlaps)