
Calculating Distance
Tutorial
intermediate
+0XP
20 mins
Unity Technologies

In this tutorial students will learn different methods to calculate: the distance between points and the length of a vector.
1. Distance Part 1
In this unit students will learn to use Pythagorus' theorem to calculate the distance between points in a game environment and the length of a vector.
2. Distance Part 2
In this unit students will learn about the built-in Unity methods that will calculate the distance between points in a game environment and the length of a vector.