Unity’s Cinemachine: Getting to Know Virtual Cameras

Marcus Cohee
2 min readJun 4, 2022

Hello all!

Today, I will talk about how to setup virtual cameras in cinemachine!

Virtual camera’s default settings

Why Cinemachine Uses Virtual Cameras

Before cinemachine in Unity, they had to use several cameras with different settings. Now, there is one “main camera” that the virtual camera inherits. The best part is that things they had to program into the cameras before now come with virtual cameras!

Components in a Virtual Camera

Let’s go over some of their components:

  • Priority — This is used to prioritize which camera inherits the main camera. The higher the number, the higher priority it has.
  • Follow — When you assign an object here, the virtual camera will follow it. I will go over this more later.
  • Look At — When you assign an object here, the virtual camera will aim at the object. I will go over this more later.
  • Lens Vertical FOV — Used to adjust the field of view. The larger the number, the wider the lens.
  • Body — This becomes available when using the Follow option.
  • Aim — This becomes available when using the Look At option.
  • Noise — Used to make a more realistic camera wobble. Like for a handheld camera.

To Add Them to your Scene

After Cinemachine is added to your project, you will have access to more objects. When adding a new object, your virtual cameras will be under the Cinemachine tab.

That was the basics for virtual cameras! I see endless uses for this, and I can’t wait to use them!

Next up, I will be going over the Look At and Aim features!

Thank you for your time!

--

--

Marcus Cohee

I am starting Unity and learning the ropes as I go! Let’s take this journey together!