Content-Length: 18747 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Quaternion.Inverse.html
Returns the Inverse of rotation.
using UnityEngine;
public class Example : MonoBehaviour { // Sets this transform to have the opposite rotation of the target
Transform target; void Update() { transform.rotation = Quaternion.Inverse(target.rotation); } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Quaternion.Inverse.html
Alternative Proxies: