
Dot Product
Tutorial
intermediate
+10XP
25 mins
(373)
Unity Technologies
In this unit students will learn about the derivation of the dot product formulae and how it is used to calculate the angle between vectors for the purposes of rotating a game character.
Resources
Languages available:
1. Dot Product
In this tutorial students will learn about the derivation of the dot product formulae and how it is used to calculate the angle and direction between vectors for the purposes of rotating a game character.
2. Calculating the Angle Between Vectors
In this tutorial students will learn how to calculate the exact angle between vectors in order to set an NPCs field of view.