bevy_mod_raycast
bevy_mod_raycast copied to clipboard
Replace intersect_list with intersections method
Instead of returning Option<Vec<(Entity, IntersectionData)>>
, it's better to just return a slice. If it is empty, then it means that there are no intersections.
I believe this approach is more common.