Skip to content

Conversation

@kpal81xd
Copy link
Contributor

@kpal81xd kpal81xd commented Sep 15, 2025

Description

  • Fixes setting rotation from transformation matrix by checking if its 'handness` has been flipped by negative scale. Flipping X axis will restore 'handness' to rhs

Fixes #5135
Fixes #7909

Checklist

  • I have read the contributing guidelines
  • My code follows the project's coding standards
  • This PR focuses on a single change

@kpal81xd kpal81xd self-assigned this Sep 15, 2025
@kpal81xd kpal81xd added the bug Something isn't working label Sep 15, 2025
@kpal81xd kpal81xd merged commit 612add9 into main Sep 15, 2025
7 checks passed
@kpal81xd kpal81xd deleted the neg-scale-rot branch September 15, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rotation resets to previous value when scale is inverted getRotation does not calculate the rotation correctly if the parent has a negative scale

4 participants