need help whit interact anim

Hello!

I need some help whit that Event.

It is an event that is called while I press the E key, but I want the animation it executes to be deactivated immediately after releasing the key or I move away from the actor’s mesh.

Thanks all for support!

Two animations can’t play at the same time on the same body section. So why don’t you just make your character “play” a new animation, but don’t select any animations to play?

Just a guess though, maybe it won’t even register since it’s not acceptable. I’m not able to test it myself right now. Tell us the result! :blush:

This paragraph is written after the next one. So I did some more research and apparently my suggestion above is also possible!

Btw did some research, apparently there are nodes like “stop anim montage” and “stop movement immediately”, but would require animation montages. If you prefer this approach, you can create an animation montage by right clicking on your animation asset, navigating to the create option and selecting the create anim montage button. Now you have a montage to play! But make sure to plug in a default slot into the main out pose of the anim graph in your animation blueprint. It should be a grey node. You should plug it’s input (source) pin into an animation or a locomotion (state machine) and it’s output pin into the output pose.

Thanks for your message!

What I do is make the ‘collect’ animation when that function is executed and when it finishes I activate the AnimBlueprint again, but of course, I could put the animation in the Blueprint but I don’t know how to direct it…

I didn’t get it. Could you please explain your objective more clearly?

If you want to detect when your animation is complete, you can create an animation montage the way I’ve explained (and don’t forget to plug in the default slot into your main out pose) and use the “Play Montage” node. It has an “on completed” pin :blush:

Hello!

I have managed to do it, I put the ‘collect’ animation inside the animgraph with a boolean that starts the animation and deactivates it, it works as I want so it stays like this hahahahaha.