How do I use rays? (simple questions in desc)
I'm a dev, but one thing I'd like to understand is rays. So, if you can, answer these basic questions for me, pls:
(yes i know a ray is a line with 1 definitive start point but no end point)
- How do you cast a ray?
- Is a ray constructed all at once or does it move fast from its startpos to where you want it?
- Can you control the speed it goes at?
- Can you detect when it is touching a part?