You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The animation player node keeps changing the size of the node when the timeline is between two keys that are duplicates.
AnimationPlayer should not change the size of the sprite node.
This happens much more pronounced in my project (in the attached test it is less pronounced).
Watch the video... how can I fix this?
2023-07-05.17-41-33.mp4
Steps to reproduce
Just move the timeline between the two duplicate keys and you will see that the node keeps changing its size but the two keys indicate the same size.
I believe this is how cubic track interpolation works so that things can be smoothed without visible stepping.
Cubic interpolation requires sampling more than just the previous key and the next key in the animation, so the value of the key before the previous key (and after the next key) will influence the current result.
If you need more control over easing, use Bezier tracks or apply easing to individual keys while using linear track interpolation.
Godot version
v3.6.beta2.official [68c507f]
System information
w10 64
Issue description
The animation player node keeps changing the size of the node when the timeline is between two keys that are duplicates.
AnimationPlayer should not change the size of the sprite node.
This happens much more pronounced in my project (in the attached test it is less pronounced).
Watch the video... how can I fix this?
2023-07-05.17-41-33.mp4
Steps to reproduce
Just move the timeline between the two duplicate keys and you will see that the node keeps changing its size but the two keys indicate the same size.
Minimal reproduction project
testAnimPlayer.zip
The text was updated successfully, but these errors were encountered: