Answers for "unity how to set rotation back to 0"

C#
0

unity how to set rotation back to 0

Vector3 eulerRotation = transform.rotation.eulerAngles;     transform.rotation = Quaternion.Euler(eulerRotation.x, eulerRotation.y, 0);
Posted by: Guest on August-20-2021

Code answers related to "unity how to set rotation back to 0"

C# Answers by Framework

Browse Popular Code Answers by Language