What decides the default camera in the sidescroller example?

In 2D sidescroller, what factor or where it is decided what is the default camera for the… level? It doesn’t say anything about cameras in the character BP nor in level BP.

Also a side question: Why can’t I jump while in mid-air even thought there isn’t anything against it Screenshot by Lightshot

Mind me, Im a noob.

Hi Cryo,

The camera is located under the Components tab in the character blueprint.

The Jump function node that you are seeing is hard coded in. It can be easily manipulated though. Check out this quick tutorial on how to add in a double jump.

I hope that helps.

TJ

When I destroy the whole character and its camera component and then I will add a new camera to the level and press start it doesn’t take the camera view. I know it can be activated vie blueprint (Screenshot by Lightshot) but I couldn’t find any blueprint that would have activated the character’s camera component one. so how’s the example’s character’s camera component activated?
Is it related to the gamemode becuase the character’s camera component doesn’t work when I choose the gamemode from “none” to “GameMode” the camera isn’t activated again?

Yes, the camera is activated when you set the DefaultPawnClass in the GameMode. When you first create a project the Default Pawn Class is the MyCharacter blueprint which has a camera component.

Yes that was the info I was looking for. thanks.