Answers for "how to reset rotation in unity"

C#
2

how to reset rotation in unity

transform.rotation = Quaternion.identity;
Posted by: Guest on February-16-2020
0

how to reset rotation in unity

transform.rotation = Quaternion.Euler(transform.rotation.x, transform.rotation.y, 0);
Posted by: Guest on November-01-2020

C# Answers by Framework

Browse Popular Code Answers by Language