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

How to make a raycast stop if it leaves a Region3 without using parts?

Asked by 1 year ago

So Basically the title of the question is what im asking

so basically without using any parts

I want to manually have the raycast stop if it leaves the region

the only Idea I have right now is calculating the magnitude distance direction and making it so that it ends before it leaves the region3

Answer this question