-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Incremental Cycle doesn't work properly with Rotation Tween. #19
Comments
I can confirm this is a bug with Incremental tweens that animate Quaternions. Because Tween.LocalRotation() translates the Vector3 rotation to Quaternion, this method is also affected by the bug. Huge thanks for reporting the issue! |
I fixed the bug in version 1.0.16. Could you please update and tell me if it fixes the issue for you? |
It's fixed now. Thank you! |
Hello there!
Not sure if anyone else has this issue, too, but for the LocalRotation tween, when i use the Incremental Cycle Mode, the cycles don't work properly. It loops only once, then it rewinds like it was set to Yoyo Cycle Mode, and then it stops.
This only happens to me with any Tween that affects Rotation. It works fine with other tweens like Position.
Here is a sample of the code i used.
Tween.LocalRotation(rotateTransform, new Vector3(0, 0, 180), 0.3f, Ease.Linear, -1, CycleMode.Incremental, useUnscaledTime: true);
Thank you for your time.
The text was updated successfully, but these errors were encountered: