Animation restarts from the beginning when orientation changes

The animation restarts from the beginning if the direction changes while it is playing.

Is this the intended behavior?

Is there a way to configure the system so that the animation continues even when the direction changes?

Example: If the character turns from facing right to left during a falling animation, the falling animation restarts from the beginning.

I’m wondering if your fall animation uses separate animations for left and right in its Animation Set. I tested this on 2.0.5, and when a category has a different animation for each direction, turning switches to the other animation and it starts from the beginning. There currently isn’t a setting to carry the playback position over.

If your character can be mirrored, what if you tried using one animation for that category with Auto Y Flip on, covering both left and right? Then turning only flips the sprite and the animation keeps playing. I tested turning both ways mid jump and mid fall, and it never restarted.

I am using different animations for the left and right sides in Animation Set.

It appears there is no solution at this time.

Thank you for your response.

Thanks for clarifying that you use separate left and right animations — that explains the restart, since switching direction switches to a different animation from its start. If the fall pose is symmetrical, the single-animation plus Auto Y Flip workaround Baz suggested is worth trying. If the poses are deliberately different, it may be worth requesting a carry-over playback position as a feature.

1 Like

I did put in a request to come up with a solution for situations like this. I’m not sure the best way to handle it, but the devs know about the situation at least.

1 Like

I observed that when switching directions after an animation ends, even with Single Animation + Auto Y Flip enabled, the animation restarts from the beginning.

However, I confirmed that when using Single Animation + Auto Y Flip + Loop Animation, the animation does not restart from the beginning even when the direction is changed.

If you don’t want to repeat the movement at the start of the fall, you could consider playing the starting section only once and then switching to a looping animation for the fall. It might be worth checking if you can configure this separately in Action Game Maker, and whether the animation plays as intended if the direction changes during the transition.