Quaternion.Dot

Switch to Manual
public static float Dot(Quaternion a, Quaternion b);

Description

The dot product between two rotations.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { print(Quaternion.Dot(transform.rotation, Quaternion.identity)); } }

Did you find this page useful? Please give it a rating: