This is a re-release of a tutorial that I produced on an old YouTube channel of mine, A Digital Mind. In this video I discuss how to utilise the Physics.Raycast method within Unity 3D to cast rays in 3D space and then manage them via the returned RaycastHit struct! This tutorial is a lot longer than others detailed due to it being an old structure. I also apologise in advance for the sound, as it was produced using old equipment. I plan to create a new video in a shorter format in the near future! Check out the video tutorial below.
I hope that you find this How-To video helpful! Any questions, please leave in the comments below, on YouTube or via contacting me on Twitter and I’ll endeavor to assist!