Hey guys, I’ve been trying to make it so when my enemy Ai is moving a animation plays. For example when I tell the enemy to go to the players location, I tried putting in a play animation block, but this just causes the animation to only play for less than a second then go back to the beginning. Does anyone know how to fix this?
~Thanks
Brady
You have to setup your AnimBlueprint to play the animation if the character is moving, for example you can check it if its speed is not zero. Then in the AI you simply tell the pawn to move to a certain location. Once the pawn starts moving it’s speed is no longer zero and the animation from your AnimBlueprint will kick in.