Version: 5.5

AnimationClip.EnsureQuaternionContinuity

Switch to Manual
public void EnsureQuaternionContinuity ();

Description

Realigns quaternion keys to ensure shortest interpolation paths.

This function is called in order to ensure better interpolation of quaternions. It should be called after animation curves are set.