Answers for "how to return rotation back to 0 in unity"

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

C# Answers by Framework

Browse Popular Code Answers by Language