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
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
That's pretty much it. You could also grab the part it touched with FindPartOnRay. You could read more about that here
Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
https://developer.roblox.com/en-us/api-reference/datatype/Ray