Raycast with several results (SOLVED)

#1

I would like to be able to do a raycast from one point to another and get all collisions on the path, preferably in an ordered table near to far (instead of the first only). A usecase could be an explosion where you want to make sure there isn’t a wall between the explosion and an enemy and also want to reduce damage if there are other enemies in the way.

2 Likes

Physics.raycast must return all objects along the ray (#4710) (SOLVED)
#2

Solved in 1.2.170

0 Likes