Welcome to the Treehouse Community
Looking to learn something new?
Switch Camera -- Full Screen Camera Missing on Start up
I followed the video as closely as possible and whenever I run the game, the active camera zooms out (or backs away from the scene very quickly) until there is nothing but the blue background. The music and the pressing the space bar to play works as it should.
Anyway, if anyone else is having this problem, it’s because somehow all the camera game objects’ position got scrambled. This includes
Camera 1, and
I assuming I forgot to reset the empty
Cameras game object’s position after I created it.
The solution is this: All the camera game objects transform position needs to be reset.
Position X: 0, Y: 0, Z: 0
Camera 1 :
Position X: 20, Y: 14, Z: 10
Camera 2 :
Position X: 30, Y: 14, Z: -13.5