Inputs don't work

I have followed YouTube tutorials, I’ve asked ChatGPT and now I’m asking here. How do I get the character to respond to inputs? I have followed everything to a T. There is nothing missing, no nodes are missing, all options required are included, no errors either. Yet when I create a character it’s not only not used, but a camera falls through the landscape.

I have exactly no idea what is wrong and it is infuriating. Please help.

– NOTE: I am using Unreal 4.27.

Hey there @Colt17752! Since you mentioned “The camera falls through the landscape”, it sounds like your game mode might not be spawning the pawn you’re working with, or it’s not being possessed. You can change this in the game mode asset itself or you can override the setting in your World’s details menu.

If the game mode isn’t at fault and your character is spawning but still falling through the landscape, it’s likely that the collision settings need to be modified.

Could we take a look at your character? Once we resolve the spawning and possession, we can take a look at your input issues.

Like screenshots of the character in the viewport or take a look at the nodes??? I’m very new to Unreal. I don’t know much of anything lol

First I’d recommend checking your game mode making sure it’s pointing at the correct pawn. You could do this quickly by going to the world details on the right and setting the GameMode Override to your game mode, then looking at the Default Pawn Class.

If that’s correct, then I would see if that character is being spawned. Make sure you have a PlayerStart somewhere in the scene and check that it’s Spawn Collision Handling Method is changed to Always Spawn, Ignore Collisions. This is one way to make sure the character isn’t just being spawned elsewhere due to some odd collisions with surrounding objects.

image

A quick way to check the character is to play in PIE then pause immediately and check out the outliner or viewport. Otherwise you could just place a print OnBegin.

If your character is spawning, but is just falling through the terrain, you may have to verify the terrain has collisions. You can check this in the details of your terrain:

Lastly, once the character is in, if you still can’t control them, I would need to see the blueprint and some of the inputs somewhat like this:

It’s recommended to look over how the sample projects handle their base characters, as creating one from scratch is difficult for beginners.

1 Like

Hi @Colt17752 ,

As you said you are very new to Unreal so I thought I should let you know that before following the instructions of @SupportiveEntity make sure you have created a Blueprint class named “GameMode” then follow the settings suggested by @SupportiveEntity. All the best :+1:

1 Like