- Home /
two cameras and two worlds?
i have a very strange problem i have to cameras in my game main camera and fps controller camera and i am using the fps camera but when i play the game there is another world view of the world so when i though oh its trying to put both cameras in the screen i decided to delete the camera i was not using the main camera but then the weirdest thing happened the whole game kept every frame the screen when i moved my character there were several hundred copies of him behind me all the back to were i started the game. so i put it back there is the weird double camera problem again, i need some help. by the way i know very little about coding or how to make games. so all help is appreciated.
So a camera needs to be attached to something and designated as the main camera of your client view. If you look in the Camera runtime class script reference of Unity docs you can see how to set the main camera. In the character controller script make sure you are not overriding whatever camera you set, if it is set at all in there, somewhere else accidently.
You did not provide enough information for a proper answer though. How are your game objects set up? Where is the main camera being assigned? Attach the scripts you're modifying and show the modifications, etc.