Is there a way to force it to Idle?

momomo

New member
Hello,
Is there a function to force a character into a idle animation and turn off all input?
If set CharacterLocomotion.ManualMove to true, character will not move, but the animation and input will continue.
 
What do you want to achieve? You can disable input by disabling the UltimateCharacterLocomotionHandler and the PlayerInput components.
 
There are many situations where you want to stop the progress.
During the tutorial, Returning after an event, Before boss battle.

I want to put the player in a idle state and disabled input after interacting with an event object.
So I tried your code, but if I interact while running, the animation does not stop, character keep moving, zoomable with right clicked, and more.
Is there a method that can be done with one call?

UTPS such a complex system, I don't see how a simple method of switching enable on components would be consistent enough.
 
Have you called the on enable gameplay input event? The input documentation page has an example. This will disable all input and the character will move to idle if no other abilities are active. It will not disable the active abilities though so in that case it'll take some custom code.
 
Top