Game dev
Saved & recent

Slerp

Also called: spherical linear interpolation

Related terms: nlerp

A lerp for directions and rotations. It moves along the arc between the two at a constant turning speed.

A plain lerp between two directions cuts straight across. The result gets shorter in the middle and the turn speeds up and slows down. Slerp is the standard way to blend two quaternions. Nlerp is the cheap version: lerp, then normalize.

Further reading
Unity documentation: Quaternion.Slerp
A B slerp arc lerp chord
The markers use the same weight. Slerp follows the arc at a constant turning speed and stays at unit length. Lerp takes the chord and gets shorter in the middle.

View in the full Game dev collection