Quaternion.Dot Manual     Reference     Scripting  
Scripting > Runtime Classes > Quaternion
Quaternion.Dot

static function Dot (a : Quaternion, b : Quaternion) : float

Description

The dot product between two rotations.

print(Quaternion.Dot (transform.rotation, Quaternion.identity));