Want to watch this Lesson?

Join CG Cookie and gain access to 100's of Blender Courses

Watch course trailer Get Started

Calculating Distance with Raycast

  • Software:Unity 5.0  ·
In this lesson we'll use a Raycast to determine the distance between two game objects. The raycast, once in contact with the ground, will then display the distance via a console message.