-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Animation Transitions are not interruptable #43570
Comments
@Flavelius If there are more than two state transitions, i.e. no return to the start state, are the transitions working correctly? |
@TokageItLab Unfortunately it's the same: |
@Flavelius Is it mean you want to use the any Mode like PlayMode Immediately from script easily? I think this is probably a feature addition. |
Sorry, i don't understand that question. When i click play on a state that has 'immediate' set, i expect it to begin transitioning to the target state 'immediately' and not that it's queued up. |
The immediate mode is to run the next Transition at the end of the Xfade of the previous Transition, and the AtEnd mode is to run the next Transition at the end of the animation. In other words, the problem is that it is not possible to abort a Transition and start a new Transition, which is a lack of functionality and not a bug. |
Ok, i began expecting that this is the case. That's unfortunate. I'll create an improvement proposal |
Yes, I agree with the implementation of that feature. I'll keep this in mind as I'm one of the contributors trying to improve the animation feature. |
Godot version:
3.2.3.stable.mono.official
OS/device including version:
Win10
Issue description:
AnimationTrees allow for blending animations which is important for good looking motion. Sometimes longer transitions need to be used to allow a variety of animations to match up with each other well.
The problem is that transitions (the blending) cannot be interrupted and currently play until done, which makes certain animation types look wrong, for example falling to moving, where small height differences usually start the falling animation, but the immediate switch to grounded typically cancels it and resumes grounded animation. But currently the falling transition takes over and animates the character until the falling pose, even if the initial state is traveled to immediately again.
Edit: It looks like it's the same with manually calling the AnimationPlayer and blend duration as parameter.
See this video with exaggerated transition time:
https://streamable.com/a1vsjp
The text was updated successfully, but these errors were encountered: