pub fn get_entities(
world: &Instance,
source_entity: Option<Entity>,
aabb: &Aabb,
predicate: &dyn Fn(Entity) -> bool,
aabb_query: &AabbQuery<'_, '_, '_>,
) -> Vec<(Entity, Aabb)>
Expand description
Return all entities that are colliding with the given bounding box and match the given predicate.
source_entity
is the entity that the bounding box belongs to, and won’t be
one of the returned entities.