Skip to main content

shape_set_filter

Function shape_set_filter 

Source
pub fn shape_set_filter(world: &mut World, shape_id: ShapeId, filter: Filter)
Expand description

Set the current filter. This is almost as expensive as recreating the shape. Sensor overlaps are not updated until the next time step. (b2Shape_SetFilter)