In this module we are going to refresh the math needed to move, scale and rotate objects in a 3D game engine.
Goals
Understand vector math for games and know how to apply it in Unity
Understand the principal axis, Euler rotation and Quaternions and know -how to use them in Unity
Understand gimbal lock and how to avoid it
Understand linear interpolation
Timestamps
0:00 Intro and overview
1:12 What is a vector
3:19 Vector dimensions
4:18 Left-hand coordinate system
5:12 Magnitude: Distance between two vectors
6:50 Multiplication: Scaling vectors
7:46 Addition/Subtraction: Moving
9:05 Quiz 1
10:59 Unit vectors, the Unit circle and Normalization
11:53 Direction
13:56 The dot product
16:16 Using the dot product and interpreting it
17:55 Quiz 2
19:10 The cross product
22:26 Linear interpolation
24:15 The principal axes
24:53 Euler rotations
25:31 Gimbal lock
27:09 Quaternions
28:24 Pros and Cons of Euler and Quaternions
29:25 Quaternions in Unity
30:32 Wrap-up