“Euler do czwartorzędu” Kod odpowiedzi

Euler do czwartorzędu

//Writes the rotation of these in Quaternion
Debug.Log(Quaternion.Euler(new Vector3(0, 10, 20)));
Ultratiger

Quaternion to Euler

//Writes the rotation of the gameObject in euler angles
Debug.Log(transform.eulerAngles);

//Writes the rotation of the gameObject's x value in euler angles
Debug.Log(transform.eulerAngles.x);
Ultratiger

Odpowiedzi podobne do “Euler do czwartorzędu”

Pytania podobne do “Euler do czwartorzędu”

Więcej pokrewnych odpowiedzi na “Euler do czwartorzędu” w C#

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu