Hi, guys!
Convert eulerAngle to Quaternion over 180 degree, Log Quaternion.eulerAngles.x, y, z, result changed !
the initialized eulerAngle:
x = 181f;
y = 17.003f;
z = 5.24f;
But Log the converted Quaternion.eulerAngles:
quaternion.eulerAngles.x = 359,
quaternion.eulerAngles.y = 197.003,
quaternion.eulerAngles.z = 185.24,
The degree is different from what i initialized, why?
public class test : MonoBehaviour {
void Start(){
Quaternion q = Quaternion.Euler (181f, 17.003f, 5.24f);
Debug.Log ( q.eulerAngles.x );
Debug.Log ( q.eulerAngles.y );
Debug.Log ( q.eulerAngles.z );
}
}