I was wondering, is it possible to make non-terminating rays (I don’t know what to call it, but rays that pass through objects, or only terminate on objects with a certain property instead of all objects with collision enabled)
This would be very useful for things such as the guns in counter-strike, that can shoot through walls/doors
It might be possible to just spawn an empty where the ray terminates and have that empty cast another ray (that is reduced range) (or just a little past that point to avoid collision with the same face) but that seems a bit too resource intensive for one ray.
Anybody know any alternatives?
oops, time to go to school, I guess I have to cut this post short