Skip to main content

world_overlap_shape

Function world_overlap_shape 

Source
pub fn world_overlap_shape(
    world: &mut World,
    origin: Pos,
    proxy: &ShapeProxy,
    filter: QueryFilter,
    fcn: impl FnMut(ShapeId) -> bool,
) -> TreeStats
Expand description

Overlap test for all shapes that overlap the provided shape proxy. The callback returns false to terminate the query. (b2World_OverlapShape + static TreeOverlapCallback)