LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Quaternion.LerpUnclamped

public static Quaternion LerpUnclamped(Quaternion a, Quaternion b, float t);

Description

Interpolates between a and b by t and normalizes the result afterwards. The parameter t is not clamped.

This is faster than Slerp but looks worse if the rotations are far apart.

See Also: Lerp, SlerpUnclamped.