- Home /
Get the rotation of an object same as the one in the 'Transform' part of the Inspector
Hello, I am trying to block the camera rotation, but I figured out that the angles that I can see in the 'Transform' part of the inspector isn't the same as the one I can see by using "object.transform.rotation.eulerAngles.x". For example, when my camera is rotated by 196°, I get that it is rotated by 344°
Comment
Your answer
