Download

How do you deactivate the default camera at Player Start location?

9229647348d7f282253f79e15cc641ee9fadd5a4.png

This is the Player Start actor that was placed by default when you create a new project.

I wanted to deactivate this camera, and switch over to another camera.

I know that to do a switch, I do this:



OldCamera->Deactivate();
NewCamera->Activate();


And I know that in the GameMode.cpp, I need to set the default pawn actor, which I did this in the constructor:



DefaultPawnClass = AMainCore::StaticClass();


Where the MainCore actor contains a CameraComponent attached to a SpringArmComponent, which is attached to the root component of MainCore actor.

I expected my view to possess the camera of MainCore, but it actually possessed the camera of Player Start.

What else do I need to do?