Lock movement on landing

Currently I’m trying to make it so when the player lands it locks their movement. Is there a way to detect the animation I’m using and lock the movement for the duration of the animation?

Well, a way I would approach this problem is by having a boolean statement named isLanding. So when your character goes into the landing animation the boolean statement would be connected to the base character movement and if isLanding == true then any input wont do anything but if isLanding == false then direct it to the regular character movement.

Rather than detecting animation you could just check the Z velocity of the pawn.

If you use character movement component, it can return movement state. So in case character is on the ground it will be “walking”.

137410-walk.jpg