Skip to main content

AnimationClip.EnsureQuaternionContinuity()

Realigns quaternion keys to ensure shortest interpolation paths.

Usage

---@type AnimationClip
local animationclip;


animationclip.EnsureQuaternionContinuity()

Extra Detail

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