Calculating Distance
Tutorial
·
intermediate
·
+10XP
·
20 mins
·
(438)
Unity Technologies

In this tutorial students will learn different methods to calculate: the distance between points and the length of a vector.
Materials
Languages available:
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.