Skip to content

fix: Full rotation tweens don't tween properly - #216

Open
StickmanRed wants to merge 1 commit into
developmentfrom
StickmanRed-tween-rotation-fix
Open

StickmanRed wants to merge 1 commit into
developmentfrom
StickmanRed-tween-rotation-fix

Conversation

@StickmanRed

Copy link
Copy Markdown
Collaborator

Description

With the new skew tweens feature, full rotations tween quite abnormally... whoops! The matrix-creating code I used didn't account for values over 180 degrees properly! Patched this up by ensuring angles are in the range [0,360) before using it in the transformation matrix code.

Testing

  1. Create a clip on an empty frame, then on the frame add a couple tweens.
  2. Set "Full Rotations" of the first tween to 1.
  3. Play the project. The clip should make one full clockwise rotation as expected.

Checklist

  • This PR does not make sense to split up into smaller PRs.

@StickmanRed StickmanRed added the bug Something isn't working label Sep 13, 2026
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.

1 participant