Quaternion.Lerpstatic function Lerp (from : Quaternion, to : Quaternion, t : float) : QuaternionDescriptionInterpolates between from and to by t and normalizes the result afterwards. This is faster than Slerp but looks worse if the rotations are far apart.
JavaScript
// Interpolates rotation between the rotations using UnityEngine; import UnityEngine |
