Hi
I have a animation for a attack for my player. Now I want to play this animation when I press a mousebutton.
Is there a way to get it so that it can go from any state in to this animation, play it once and then go back to the previous state?
(The important part is to get it to play only once and returne to the previous. I know how to get from any state into the attack animation)
thanks in advance
Kertaix:
Hi
I have a animation for a attack for my player. Now I want to play this animation when I press a mousebutton.
Is there a way to get it so that it can go from any state in to this animation, play it once and then go back to the previous state?
(The important part is to get it to play only once and returne to the previous. I know how to get from any state into the attack animation)
thanks in advance
Did you make sure Loop Time is NOT checked in the animation?
1 Like
Yes
But then it just gets stuck at the last frame and doesnt go back to the previous animation. But I’ve now done it with a bool which is true for the time of the animation playing once. That probably takes more effort than needed but it works.
Thanks anyways
Ok, you prob need something like this with a trigger
1 Like