The dot product between two rotations.
print(Quaternion.Dot (transform.rotation, Quaternion.identity));
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
print(Quaternion.Dot(transform.rotation, Quaternion.identity));
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
print(Quaternion.Dot(transform.rotation, Quaternion.identity))