Player Controller Not Working

I’m setting up a new game, and for some reason I can’t get the player to look around. I put a string trace in, and it doesn’t look like the player controller is being activated. I know it’s something simple I’m forgetting, but I can’t figure out what I’m missing. Can anyone help?

I have the camera in the Player Blueprint set to use the controller rotation

image

I have my Player and PlayerController set up in my GameMode.

I have my mappings setup

I have my Mapping Context setup and the InputAction with code on it.

Anyone have a clue what I’m missing?

Hello @DigitalSketch ,
First, let’s check the basics: make sure the Input Mapping Context is being called correctly.

From what I can see, you’re setting it up inside your BP_Character rather than the PlayerController, although it should work either way.

To start, I recommend adding the following

Then, to check if it’s being executed when the game starts, press F9 on the Add Mapping Context node to set a breakpoint and then hit Play. If the game reaches that node, we can confirm that it’s being called correctly, meaning the issue is probably caused by a missing configuration somewhere.

If that doesn’t work, you can try moving that logic to your BP_Controller and see if it works.

You can also use the ShowDebugEnhancedInput command to check that everything is mapped correctly.

Finally, in your BP_Character, make sure Use Controller Rotation Yaw is enabled.

Let me know if any of this works!