pub unsafe extern "C" fn b2Shape_SetFilter(
shapeId: b2ShapeId,
filter: b2Filter,
)Expand description
Set the current filter. This is almost as expensive as recreating the shape. This may cause contacts to be immediately destroyed. However contacts are not created until the next world step. Sensor overlap state is also not updated until the next world step. @see b2ShapeDef::filter