Version: 2017.3
public static Quaternion Slerp (Quaternion a, Quaternion b, float t);

Descripción

Esfericamente interpola entre a y b por t. El parámetro t está sujeto al rango [0, 1].

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Transform from; public Transform to; public float speed = 0.1F; void Update() { transform.rotation = Quaternion.Slerp(from.rotation, to.rotation, Time.time * speed); } }

See Also: Lerp, SlerpUnclamped.