Skip to content

Fix autorotate axis locking, scale, and vertical yaw - #117

Open
Ethanout wants to merge 2 commits into
Godlander:mainfrom
Ethanout:fix/autorotate-axis-lock
Open

Fix autorotate axis locking, scale, and vertical yaw#117
Ethanout wants to merge 2 commits into
Godlander:mainfrom
Ethanout:fix/autorotate-axis-lock

Conversation

@Ethanout

@Ethanout Ethanout commented Aug 2, 2026

Copy link
Copy Markdown

Summary

  • derive autorotation facing from the carrier quad basis
  • apply pitch and yaw metadata bits independently so single-axis modes lock the other axis
  • recover yaw from the quad horizontal axis when vertical pitch removes the facing vector's horizontal projection
  • apply the carrier quad scale consistently in both autorotate and off modes
  • preserve additive color-controlled rotation
  • make the regression suite discoverable by the default unittest command

Tests

  • python tests/test_autorotate_shader.py -v (8 tests passed)
  • python -m unittest discover -v (8 tests passed)
  • git diff --check

Fixes #118

@Ethanout Ethanout changed the title Fix autorotate axis locking Fix autorotate axis locking, scale, and vertical yaw Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autorotate loses yaw at vertical pitch and changes model scale

1 participant