Skip to content
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

If an animation starts on frame 1 or more, rather than frame 0, AnimationController doesn't animate it properly #7352

Open
tylerhasman opened this issue Feb 27, 2024 · 0 comments

Comments

@tylerhasman
Copy link

Issue details

Some animations when exported from programs such as blender can start on a frame other than 0.
This causes the animation controller to incorrectly animate the object between frames 0 to N, where N is the first actual frame of the animation.

Reproduction steps/code

Have any model with an animation that starts on a frame greater than 0.
Update the models animation controller with delta=0 such that it is on frame 0.
Observe that the model won't be on the actual first frame of the animation but instead in the default position of the model.

Version of libGDX and/or relevant dependencies

1.12.1

Please select the affected platforms

Found on Windows but is likely broken on all other platforms as well.

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

No branches or pull requests

1 participant