Cinemachine Brain — What is it?

Tyler Smallwood
3 min readDec 27, 2022

--

Objective: cover Cinemachine Brain.

We have recently covered different cameras that come with Cinemachine. But one thing we have yet to cover is how the cameras control the Main Camera. When we install Cinemachine, a CinemachineBrain gets added into our Main Camera.

Inside this CinemachineBrain, it has a default Blend between cameras. If we have to Virtual Cameras in the scene and we disable one, it’ll ease to it. This will happen no matter how many cameras are in the scene unless you create a BlendCamera.

If we change this to Cut, it’ll snap to the next camera.

The CinemachineBrain also has it’s own Custom Blends. If there are multiple cameras in the scene, in this event window we could decide how it’ll move to the next camera. For example, camera one and two blends back and froth while from two to three it snaps. Create some virtual cameras in different locations.

To do this we will click Create Asset next to Custom Blends. A save window will open, name it to something you like and save it.

Find that file and select it so it appears in the Inspector.

Let’s select the + icon and get our cameras in there.

Once you get the cameras in, you can change the blends.

This can be seen in the Gif Below. I turned off 10 and turned it back on, and moved to 12 and 13 and finally 13 to 10. You can see the different blends.

This is something you can do with the Brain of the Cinemachine in your project! Thank you for reading and have a wonderful day!

--

--

Tyler Smallwood
Tyler Smallwood

Written by Tyler Smallwood

I am passonate on learning to program and use Unity to become a skillful Unity Developer

No responses yet