Godot Engine 4.2.1
I have been trying to set up a simple AnimationTree for the game im working on and I havent found a simple way to manage my use case (that I think is pretty common).
When I trigger a oneshot animation and its interrupted with a second oneshot, after the second one finishes, the first one comes back again and plays the remaining part of the animation. [oneshot1-oneshot2-oneshot1 remaining].
For example, if I have 2 attack animations, this kind of overlap its problematic.
Is there a option/parameter to avoid the first oneshot to keep playing afterwards? Just fade out and stop when it gets interrupted by another oneshot…
A simplified version of my setup would be something like this: