Attacking Animation using a Static Movement
I need help on Attacking animation. Im using a static movement, trying to get the character to punch/attack, but it only does one amination for a second, then it stops... I hope someone can help me, I've been having that problem for almost a month... please and thank you
KC
Re: Attacking Animation using a Static Movement
the problem probably is with your static movement code, it is trying to play the stopped or walking animation at the same time as playing the attack animation.
for example you currently have:
player is not moving left or right - change animation to stopped
player is moving left or right - change animation to walk
etc.
but you need to set an extra condition here, eg
player is not moving left or right
+ (negate) animation attack is playing - change animation to stopped
basically, the animation events you have for your static movement are interfering with the attack animation, so you need to make sure it only changes your animations to stopped/walking etc when the player is NOT playing the attack animation.