Cannot get AActor to detect input

Hi all,

I am really struggling here. I cannot for the life of me figure out how to get my AActor within my scene to react to input. I couldn’t even figure out how to add PlayerController, but one is added as per the mode so I tried to find that one in code.

Long story short, I want the players input to be detected by the class attached to this AActor, so that I may manipulate this AActor via c++ code.

See below, the code that I have used… It compiles fine, the inputs are set in the editor, and I can see the Input component is attached at runtime.

I have disabled the default pawn in the default modes editor window as all I want to manipulate is this AActor:

The setup of the world seems fine, I can rotate my spring arm and it moves as expected.

If it helps, here is the hierarchy during run-time:

85580-0_editor_heir.png

Please help! It will be much appreciated.

Thanks,
S