Why does Ctrl make me move down and how do I stop it?

My game is first person but with a floating/flying pawn. When I press the Ctrl key it makes the pawn move vertically downwards.

Why?

How do I stop it?

So, my pawn is inheriting from ADefaultPawn, and in my SetupPlayerInputComponent() override I am calling the same function on ADefaultPawn (Super). That function checks a flag, bAddDefaultMovementBindings, and if it is set then the default pawn code adds a whole load of action mappings to the engine.

So I removed that call.

No effect.

So I set the boolean flag to false.

No effect.

So I removed the inheritance of ADefaultPawn from my pawn.

I now get a warning:

[2026.01.24-08.44.18:737][  0]LogActor: Warning: MyPawn /Game/Maps/empty.Empty:PersistentLevel.MyPawn_2147482451 has natively added scene component(s), but none of them were set as the actor's RootComponent - picking one arbitrarily

Other than that…no effect.

I have searched the entire runtime codebase. Something somewhere in the engine is adding a bunch of actions that I JUST DO NOT WANT!!!

So in the end, the solution is to not call “SetupPlayerInputComponent"()” on the ADefaultPawn “Super” class, and instead do my own axis mappings, but using the names from “DefaultInput.ini”. I also had to add a new axis to “DefaultInput.ini” for up/down.

1 Like