So what I'm trying to do is cast a ray and return all parts that are touching the ray, but I'm not sure about how I would do this.
Any ideas?
Like so: https://i.imgur.com/GZ5mm2B.png
So what I'm trying to do is cast a ray and return all parts that are touching the ray, but I'm not sure about how I would do this.
Any ideas?
Like so: https://i.imgur.com/GZ5mm2B.png
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
there isn't really api for that. you need a small algorithm which keeps checking the same ray and adding new hits to ignore list