Character able to jump while in cinematic mode

I’m following this tutorial: Introduction to UE4 Programming.

I have a character with a power variable. In the game mode I decrease the power every tick. Once the power reaches a minimum level, the game ends. When this happens, I set the cinematic mode to true just like this:

PlayerController->SetCinematicMode(true, true, true);

The problem is the controller stops all input but jump.
What can be causing this? Does it need to be handled independently?

Thanks.

From what I can see in the SetCinemarticMode() function, it will only affect movement and turning inputs. You could try disabling the input altogether. Usually, the main player input are binded to your Character, so you could try something like this :

PlayerController->GetPawnOrSpectator()->DisableInput(PlayerController);

Hope this helps :slight_smile:

Thank you, this works better. (Or as I expected at first)