I'm using a varible canMove to set when character attack animation is playing, movement commands will not be played so the character wont do nothing while the attack animation is playing however I wan't the character to move a bit because the he is taking a step while attacking... I could remove the step and make him attack while standing still but I really want to make him move accordingly to his step.
I've tried setting a function to make him move simulating platform movement, and also tried setting X vector, both resulted on him only moving for a tick and then stopping even when I don't set the vector back to 0.
If it helps, the condition to make him attack is one trigger "if Keyboard A is pressed".
If this is impossible to do this with one trigger conditions can I have info on how to make attack animations without them?