How to switch between cameras in Cinemachine
Objective: Understand how to change between your virtual Cameras!
When working with Cinemachine, it is unlikely that you will only be working with one virtual camera. Your projects could include several in fact, this means you will need to learn how to switch from one virtual camera to another.
In this tutorial we will be going over two easy methods for switching cameras.
The first method is enable/disable virtual cameras.
With the editor playing, if you turn off the active virtual camera, the main camera will switch to the next available virtual camera.
If you turn off all the virtual cameras your main camera will stay in place, because it doesn’t know what to do.
The second way to switch virtual cameras is to use the priority setting on each camera. By default, a virtual camera’s priority is set to 10. The camera with the highest priority will be the dominate camera.
Using either or a combination of the two methods to choose the virtual camera you want in your scene will become second nature in no time. As always, don’t be afraid to experiment with your virtual cameras, and I’ll see you in the next tutorial!