GameController, Pawns and cameras question

Hi,

I’m creating a little pong game to make me start with ue4.

I have created a Player controller blueprint that seems to have a built-in camera (I don’t see the component but the camera gizmo can be seen in componentes):

I created a pawn too and made it to be autopossesed by the game controller. When I hit play the camera gets attached to the pawn (I suppose this camera is the one the player controller had, could you confirm?) and I can move the pawn but the camera moves too.

This is not what I need. I need the camera not to move that stay some meters away from the playable board. What I need to move is the paddle (my pawn).

I have tried to add a camera to the pawn as I have seen in other tutorials and mount it on a spring arm but when the pawn is autoposseded this camera is not used. Anyway, this is not the setup I need because as it is attached to the pawn when the pawn moves the camera will move following it too.

Could anyone suggest how to achieve this and a bit of a summary about this camera madness? :). I would really appreciate it.

Thanks in advance.

Place a camera in your level and after the pawn is possessed, use Set View Target node between the one camera and the player controller(s)

I have a feeling they arent stuck on this one anymore :slight_smile:

Probably. But I still have things I’ve been stuck on for over a year and would be overjoyed if somebody helped me with them, so I decided, eh, why not. Just in case.

1 Like