Why use Slerp instead of Lerp for rotations?
Quaternion q = Quaternion.Slerp(from, to, t);
- It keeps constant angular speed
- It runs faster on the GPU
- It avoids using quaternions
- It clamps the result to zero
Spherical interpolation rotates at a steady rate, avoiding wobble.
Play Game Dev ▸