Greetings, I’m using Disable Movement state while playing animation. All works fine except one thing, if I jump and start to play this animation my character will freeze in air while playing it. How to solve?
One thing you could try,(if you don’t want to play the animation while the character is jumping), is check whether your character is falling or not (in the air or not). And if it is in the air, don’t allow the player to be able to play the animation and you use the disable movement as you said you are:
If you do want to play the animation even when your character is jumping, another thing to try instead of disable movement, would be to set the max walk speed of the character movement component to 0 when you playing the animation and then back to it’s default value when you done playing the animation.
Another option would be to disable input on your character when you playing the animation and enable it again when you done playing the animation (however if you do this, you won’t be able to move the camera or anything while the animation is playing, so if that is ok in your situation then you can try that too)
Thank you alot!