How to camera?

How do you use a camera component in standard way? I went through shooterGame example and find that it dosen’t use any camera component in the AShooterCharacter class.

Does that mean it mean there is a default camera component in the player controller? or the camera is being manipulated without a camera component ? I couldn’t find the code that places the camera to proper place in the start, and why not use a camera component adjutstable in the blueprint? It would save a large amount of time adjusting the camera.

Suppose I have two camera components on a pawn class for two different camera modes. How do I set my controller to use a certain camera component in the pawn? If I possess a pawn it automatically grabs the camera component, how do i control this behviour?

You can change view target camera behavior by overriding CalcCamera funtion in actor

As you can see in source snippit there defult behavior its searching for camera component and apply camera position in to it.

Keep in mind CalcCamera is part of object update sequence so its executed on every frame when actor is view target, so it works like Tick

It says “Calculate camera view point, when viewing this actor.” WTH man! what if I’m not looking at any actor