I have set up my 3rd person characters movements using state machine in my animation blue print. Generally it works very nicely. But I have one bug that I seem not be able to fix.
My character can do the following: stand idle, walk, run, jump/fall, block with shield and without (different animations), 3 different randomized standard melee weapon attacks, 3 different power/special attacks, being hit, die. The power/special attacks can only be done while standing/not moving and this is intended. For the 3 different standard melee attacks my character is allowed to perform either while idle, walking or running. But here I’m running in a problem. Standing and moving standard attacks work fine by itself, but if my character is moving and I do a standard attack and stop walking/running by releasing the W button while the standard attack animation is played, the legs keep moving (walk or run animation) even when the character has no forward movement until the attack animation is over. I haven’t found a way to fix that. Can anyone point me in the right direction for a solution? thanks.