Version: 2017.3
public static Quaternion Inverse (Quaternion rotation);

描述

返回 rotation 的反转。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Transform target; void Update() { transform.rotation = Quaternion.Inverse(target.rotation); } }