Setting Up Virtual Cameras

What is a Virtual Camera?

John C Hills
1 min readJun 19, 2023

Virtual Cameras can be described as placeholders that the Main Camera adheres to, and follows. When there is movement from your Virtual Camera, your Main Camera will have all of the details from the Virtual Camera applied to it. Each time you switch to a different Virtual Camera, your Main Camera will assume the qualities of the selected Virtual Camera.

Adding a Virtual Camera to Your Project

To use a Virtual Camera in your Unity project, you must add the camera to your Hierarchy. The steps to add a Virtual Camera will be dependent on which Unity Editor version you are using. In this case, I am using Unity 2021.3.17f1. Follow these steps:

  • Click GameObject from the top Unity menu.
  • Hover your mouse cursor over Cinemachine.
  • Click Virtual Camera.
Click to View

Your Hierarchy will now show the new Virtual Camera in the list. The first camera will be displayed as “CM vcam1”, the second as “CM vcam2”, and so on.

You can now customize your Virtual Cameras as needed. This will be for another article.

I would like to thank all of you who took the time to read my article.

--

--

John C Hills

I was a Naval Nuclear Machinist, owned a PC tech business for 2+ decades, own ByteString Studio Games, and started designing games on the Commodore 64 in 1984.