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

Am I understanding raycasts properly?

Asked by 4 years ago

Hi, Am I understanding raycasts properly? As far as I know, a ray is an invisible line that has an origin and a direction.

Is that right?

thanks

1 answer

Log in to vote
0
Answered by 4 years ago

That's pretty much it. You could also grab the part it touched with FindPartOnRay. You could read more about that here

0
Thanks! PhantomBrix 40 — 4y
Ad

Answer this question