Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I get all parts that are touching a ray cast?

Asked by 6 years ago

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

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 cabbler 1942 — 6y

Answer this question