Block HorizontalMovement and ForwardMovement changing

Arficord

New member
Hello, I have a question.
Is any way to stop changing "HorizontalMovement" and "ForwardMovement" animator values while some ability is activated?

I need it for blocking character controls at air, and prevent transit between running jump and idle fall.

I know about "Allow Positional Input", but when it's checked that parameters decrease to 0.
 
I don't fully understand your question. Do you want to stick to the input value that was given when the ability is activated?
 
No, it is not possible to freeze the input by default. You could implement your own movement type, and override the input vector in the GetInputVector method.
 
Top