Function oxygengine_physics_2d::prelude::ncollide2d::pipeline::interferences_with_point
source · pub fn interferences_with_point<N, Objects, 'a, 'b>(
objects: &'a Objects,
broad_phase: &'a (impl BroadPhase<N, AABB<N>, <Objects as CollisionObjectSet<N>>::CollisionObjectHandle> + ?Sized),
point: &'b OPoint<N, Const<2>>,
groups: &'b CollisionGroups
) -> InterferencesWithPoint<'a, 'b, N, Objects> ⓘwhere
N: RealField + Copy,
Objects: CollisionObjectSet<N>,
Expand description
Returns an iterator yielding all the collision objects containing the given point.
The result will only include collision objects in a group that can interact with the given groups
.