I want to disable any input movement for the character while performing an animation.
STEP 1:
I have found in the API documentation the function SetIgnoreMoveInput that is in the APlayerController class and is public. I use it in this way:
MyController* MyPC = Cast(Controller);
MyPC.SetIgnoreMoveInput(true);
Obviuosly MyController inherits from APlayerController.
But this gives me an error “left of .SetIgnoreMoveInput must have class/struct/union”,
STEP 2:
I suppose after this I have to get a notification from the anim to understand when it is finished to enable the input again, is this possible?