Hi! We wanna reset our AI’s attack animation and let her return to her running animation when she’s to far away from our player.
I’ll add some screens down below, cheers.
Hi! We wanna reset our AI’s attack animation and let her return to her running animation when she’s to far away from our player.
I’ll add some screens down below, cheers.
My suggestion would be to use an animation montage instead of a standard “Play Animation” node. This will keep the behavior within the anim blueprints and control within the behavior tree. A simple service would allow for checking the distance and pulling the character out of a task such as attack. A montage would also allow for easy upper body blending should you wish to have her attack and move at the same time.