public static float Angle (Quaternion a, Quaternion b);

Descripción

Retorna el ángulo en grados entre las rotaciones a y b.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Transform target; void Update() { float angle = Quaternion.Angle(transform.rotation, target.rotation); } }