- Home /
How to make a stationary camera into a moving camera that follows the player when entering a new scene?,How do i go from a still camera to a camera that moves when my player moves in another scene?
Okay i'm 'VERY' new to this... so i don't really know much i'm currently mainly relying on tutorials as i learn so i apologise if i'm making this come across more complicated then it actually is. Ive been watching 'gamesplusjames' on youtube and so far he has helped me with his tutorials when creating my game. I followed his tutorial on camera work and he helped me make my camera follow my player as she moved across my tilemap (https://www.youtube.com/watch?v=J6BQ4Fcy4cc&list=PLiyfvmtjWC_X6e0EYLPczO9tNCkm2dzkm∈dex=5) in another tutorial of his (9 and 10) he helped me move between scenes with believe its called a 'trigger?' and carry over the camera so it follows the player into that scene. However, i've changed my mind with the first scene. Where my first scene is just a small room id rather the camera just be stationary instead of following the player but i still want the second room to follow the player. When I attempted to change it to stationary and got the player to enter the second scene it messed up. The camera started to not be able to find the player despite having all the original settings on and double checking that the camera script is following its 'target.' Its only this first scene i'm having issues with, all the other scenes i wish to be stationary seem to work perfectly fine so i'm rather confused... is anyone able to help? Id really appreciate it and again sorry if i'm over complicated stuff!
Hard to help without the code. Please post the code of the camera in the scene you expect it to follow the player in
Your answer
![](https://koobas.hobune.stream/wayback/20220612194902im_/https://answers.unity.com/themes/thub/images/avi.jpg)