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

1 comment

0

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