Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform component scale decreasing in editor with certain rotations. #759

Open
MortimerSnerd opened this issue Oct 2, 2023 · 1 comment
Labels
bug Need to fix

Comments

@MortimerSnerd
Copy link
Contributor

I'm on commit bb51947 , Windows.

In the editor, if you rotate an object around the y-axis by 90 degrees, the X and Z scale displayed in the transform component box will slowly start to decrease. I'm guessing it's some sort of numerical error that's happening when the transform is decomposed and recomposed for the panel display. But I didn't look, I just ran into this fooling around on my lunch break.

To reproduce:

  1. start editor
  2. create a new Cube
  3. Open transform panel for cube, put 90.0 as the Y rotation
  4. X and Z of scale should start dropping.
@turanszkij turanszkij added the bug Need to fix label Oct 3, 2023
@turanszkij
Copy link
Owner

Yes, I was aware of this, I also think this is some precision issue with matrix decompose. Haven't found a better way to do the editor transforms yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Need to fix
Projects
None yet
Development

No branches or pull requests

2 participants