Pretty self explanatory. I would like to get some more information on raycasting if possible. Also i would like to know in what kind of script should i use it
✓ ANSWER ACCEPTED
Could i get some more explanation on ray casting?
1 answer
✓ Accepted answer
Create a line with an origin and a direction. Ray.new() is used to generate rays, and findpartonray is used to find where they intersect parts or terrain.
https://developer.roblox.com/en-us/api-reference/datatype/Ray
https://developer.roblox.com/en-us/api-reference/function/Workspace/FindPartOnRay
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
thanks, its a bit more clear now