Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Rotating an object around x and y axis changes only x value.

Discussion in 'Editor & General Support' started by Eruheran4, Jan 29, 2020.

  1. Eruheran4

    Eruheran4

    Joined:
    Jan 6, 2013
    Posts:
    19
    Good day!

    Something strange is happening with my unity: When I rotate visually with the editor an object around it's x- or y-axis, only the x-rotation-value changes. The rotation-value of y will always stay at 0. This is really confusing.

    Do I have to make any changes in the settings somewhere? I am using unity 2019.3, custom scene with High Definition RP. Thanks in advance.

    PS: I just figured out, the values changes correctly as soon as the object is new and has never rotated before. As soon as I have rotated my object 90° in x-axis, further changes will only change the x value.
     
    Last edited: Jan 29, 2020