Hey guys, the Main Camera in my project was following the character. However, after I added Camera Brain to the main camera, it is locked. And I couldn’t move it in the scene. How can I solve this problem?
The job of the CM brain is to move the camera. It does that all the time. If you are also trying to move it independently there will be a conflict.
Once you have a CM brain, you need to make a CM virtual camera and move that instead. The CM Brain will make sure that the main camera always exactly tracks the CM vcam.
Any scripts you might have that are trying to move the main camera should move the vcam instead.
Hey, thanks for your reply!
When the timeline ends, the camera would be at a very strange position and angle. So I set a new virtual camera and put it at the end of the timeline. However, that doesn’t work. The main camera is still at the previous angle. How can I solve that problem?
Timeline activates and deactivates vcams, which override the currently active in-game vcam. When the timeline is finished, all the vcams it activated will be deactivated. You need to have an in-game fallback vcam that takes charge before the timeline starts and after timeline finishes. That in-game vcam assumes the duty of the main camera. Whatever the camera was doing before, make your in-game vcam do it instead. The main camera should just be a standalone thing with a CM brain on it, and no other logic.
I’ve had the same problem, Now however: I’m not seeing in the game view whatever is shown on the main camera.
Is it possible that you have another Camera component somewhere in your scene, and it’s controlling the Game View? I see that the little preview of the main camera is correct.