What camera is the default camera?


sorry for likely a dumb question but I cannot figure out how the Engine decides which camera it uses by default. I am looking at Advanced Vehicle Sample and two cameras are there. So the game starts with ChaseCamera selected. Then the player can switch to the internal camera. But I could not find that line of code that tells that ChaseCamera is the default camera.


I am sorry, it’s right in BeginPlay – EnableIncarView(bWantInCar);

I don’t have the sample code under my eyes, but generally it’s APlayerController::SetViewTarget(), which takes the new camera as its first parameter