camera troubles

I’ve been trying to prototype a third-person game with multiple playable characters. Im trying to start with one to see where I can go. I’ve decided to make a PlayerController to handle all basic movements that all characters need: moving, jumping, looking around, etc. However, I have an issue with the camera. I’ve tried putting the camera in the character file, and making the camera its own pawn and haven’t gotten the results I needed. I’ve been thinking that I should make the camera an actor and connect that to the controller and character. If anyone can help and give suggestions I’ll be eternally grateful.

I don’t know what all you are trying to do, but the third person camera that is attached to the character that just comes with the third person pack is pretty good.

Also, if you need complex things done with the camera, you could consider using more than one camera. You could have one camera do most things and then change to a more niche camera for other things.

Just some suggestions. I don’t know much about your game of course.

the game Im trying to go for is a third-person shooting platforming game (like ratchet and clank for example) with multiple playable characters that you can switch between. The third-person starter camera you mentioned is good and I was playing around with it. It wasn’t till I put the controls from their character file to my own player controller file is where I was experiencing troubles with their camera which was the inability to move the camera around the character. That led me to think that I need one external camera, whether that be a pawn or actor; that can act like the third-person camera for the characters. However that’s just my theory, I’m not entirely sure about that aspect.

Hi Pops, Welcome to the Forums,

I’m fairly confident that you’ll want to have a camera inside each of your characters.

Then you’ll swap between them with ‘Possess’ function.

In the above picture it is two of the same class, but any you should be able to swap possession on any Pawn/Character. (Also, the above blueprint was created in the level blueprint, so getting a reference to the second character was as easy as dragging it in, let us know if you have trouble getting/setting references in other BPs.)