79193929

Date: 2024-11-15 20:56:22
Score: 1.5
Natty:
Report link

Maybe it has something to do with the usage of euler angles, as described here : https://docs.unity3d.com/ScriptReference/Transform-eulerAngles.html The rotations are stored as Quaternions You are affecting the whole rotation of the object, but if you just wanna rotate around the x and/or the y axis, juste call the Rotate() method, and then specify the axis and value, as manipulating quaternions can be tricky.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Romain