How to enable input in LevelBlueprint

Hi,

how do I enable input. I have no player, no character or pawn or something. I just have a level blueprint with some actors and I wonder how I can enable input to receive something like pressing space-key. I can’t figure it out so far.

Hey sandermann,

You will need a pawn class in order to utilize inputs as there is a one-to-one relationship between controllers and pawns.

Input

The level blueprint is not the correct place to implement inputs for your player character, and in order to accept inputs you need a default pawn or character class. To add inputs you need to go to the Project Settings > Input and manually add Action and Axis mappings for your game.

Let me know if you have further questions.

Thank you,

Okay, now I created a pawn and set Auto Receive Input to Player 0 and placed it in the world but it did not receive any input.

Be sure the pawn class you created is set as the default pawn class within your World Settings.

Perhaps a screenshot of your blueprint and project might help?

Thanks,

Ok, here are my Settings:

Your BP_Pawn class needs to auto receive input from player 0, and not the controller. A unique player controller is created with each new pawn, so the player controller is dependent on the pawn/character.

Sorry, I dont’t know what to do now.
I have my BP_Pawn and set auto receive input from player 0. Then I placed him in the world and set default pawn to BP_Pawn but it didn’t receive input.
I also removed the player controller

Okay, now I got it. In my pawn I disabled auto receive input but I auto possess player to player 0. Not it’s working. Thx