What does normalizing a vector do?
- Keeps its direction and sets its length to 1
- Sets every one of its components to zero
- Reverses the vector's pointing direction
- Rounds each of its components to an int
A unit vector expresses pure direction, which is what movement wants.
Play Game Dev ▸