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

Playing backwards discrete animation will begin with the first keyframe #92840

Closed
KoBeWi opened this issue Jun 6, 2024 · 1 comment · Fixed by #92861
Closed

Playing backwards discrete animation will begin with the first keyframe #92840

KoBeWi opened this issue Jun 6, 2024 · 1 comment · Fixed by #92861

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Jun 6, 2024

Tested versions

4.3 beta1
not sure when it started exactly

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

I have a door that uses the same animation for opening and closing, and the animation is played forward and backward.
It looks more or less like this:
image
Notice the empty space between last frame and end of the animation. When playing backwards, the empty space is filled with the first frame:

godot.windows.editor.dev.x86_64_lBjNvI3kuE.mp4

It works correctly when I repeat the last frame at the end:

image

MZf0Ad0fdD.mp4

This wasn't necessary before.

Steps to reproduce

Run the MRP.

Minimal reproduction project (MRP)

discretebug.zip

@JekSun97
Copy link

JekSun97 commented Jun 6, 2024

This happens starting from version 4.3 dev4, which I also noticed, this only happens in a running project, I don’t see this problem in the editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment