How do i disable movement during an animation?
Hey. I was working on a combat system and I wanted to make the left mouse button a trigger to a sword swinging animation. It worked, but however, when I held the left mouse button the animation played, but when I pressed the W key the character was moving while the animation was playing. I already tried using stop movement but it just makes the character not move at all. How do i disable movement only when that animation is playing? Also, how do i speed up the animation? The character is attacking way too slow.
Hey there, if you just want to disable the movement input then just put a branch before processing it and check if a boolean variable called Can move is set to true. when you attack set the variable to false, when the animation ends set it to true.
answered Jan 22 '18 at 09:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here