Hey I need some help creating a game and I am struggling with the camera.

So I am trying to make a bloons tower defense type game where you just see the map from a top down perspective. I dont really know how to do this tho. I tried making a pawn and putting a camera in the viewport and then setting that as my default pawn class but that didnt work. So what do I do?

There’s a top down example as part of the Epic content

image

This doesn’t really have what I need. In the game I am looking to create there is no controllable character. But what I have tried is pretty much the same as the game tho. I created a pawn. Put a camera in the viewport. And put the pawn into my game. Set it as my default pawn. And when I would press play my camera would just be wherever i was when I pressed play

When you put the pawn in the level, did you set it to possess player 0?

image

Your Pawn doesn’t need to be a Character.

You can create a new player blueprint that’s a simple Pawn with a camera (pointing down) and no collision. Make this be the default player pawn class, and you can totally have it possessed by the controller.

You can move this actor around using regular and set actor position, or you can add a FloatingPawnActorComponent, or you can build your own movement component – either way works.

hmmm probably not ill check if this works