Disabling character movement

Hi there!

Is there any way to disable character movement through a blueprint? I haven’t seen anything related to that in the forums.
In UE3 you could just use IgnoreMoveInput, but I don’t see such a function in UE4.

Thanks in advance.

Hi Keytotruth,

The short answer is yes, but the long answer is yes depending on what you are trying to do! Blueprints are a very powerful tool and you can set up many aspects of your game through them, though if you have a button designated for movement that you do not plan on using (for instance, in a side scroller you may not want to turn left and keep them moving to the right instead), you can go into the axis bindings of the project settings and simply remove it from the list. If it is more of a temporary situation you can change the movement value to 0 so that your players forward or right vector will not update for a period of time. There are several options available to you to affect movement.

I need more the latter. I want to make it so the player cannot move during a certain animation.
How can I set the forward/right vector to zero?

You can access the player controller and use the blueprint node Set Ignore Move. This will disable movement, you just need to re-enable the movement about the time the anim is done.


Thank you very much. That worked perfectly!

Also, do you guys know if it’s possible to restrict the axis for root bone motion for animations or montages like in UE3? I really need this feature. I don’t mind if it’s through code or something, but is it possible?

This seems to work: