In this short video you will get to understand how you can use rays and raycasting for your games so that you can detect objects ahead of you before you collide with them.



We will look at: