Calculating Distance

Tutorial

intermediate

+10XP

20 mins

446

Unity Technologies

Calculating Distance

In this tutorial students will learn different methods to calculate: the distance between points and the length of a vector.

Materials

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.

Complete this Tutorial