Please Support LocalRotationX,Y,Z,XY,XZ #170
Closed
Difficulty-in-naming
started this conversation in
Ideas
Replies: 1 comment
-
Hey! PrimeTween had this feature in the past, but I removed it after a deeper consideration. The issue with rotations around axes is that they are not cumulative and can behave unpredictably. For example, rotation around one axis can modify absolute rotation values around other axes in a very unintuitive way. More info: #73 (reply in thread) The best alternative you can use is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, if we want to animate rotation around only one local axis (e.g., making a door swing open around its local Y-axis), we have a few options:
Tween localRotation (Quaternion): This requires calculating the target Quaternion based on the desired angle change around a specific axis. While powerful, it can be less intuitive for simple single-axis rotations compared to just specifying the target angle.
Beta Was this translation helpful? Give feedback.
All reactions