Creating Good Cameras in Unity — The Power of Cinemachine

’Cause filming your scene right is actually a big deal!

Mina Pêcheux
CodeX
Published in
9 min readAug 26, 2024

--

Harold Halibut by Slow Bros (Image from: https://unity.com/fr/unity/features/editor/art-and-design/cinemachine)

In another tutorial I made on behaviour trees, I showed an example of a little scene with a guard walking around, and a flying camera that keeps track of the character continuously:

To automate this camera movement, I relied on a great Unity plugin: Cinemachine.

So, in this tutorial, we’re going to see:

  • 🧐 why creating a good game camera is difficult!
  • ⭐️ what Cinemachine is, and how to install it
  • ⚙️ how to configure a basic Cinemachine virtual camera
  • 🎬 how to composite shots using the Timeline

🧐 Creating a good game camera is difficult!

In a way, the first 2D games had it easy (like Mario, Pacman or Space Invaders for example): they usually used either a top-down or a side-view, and everyone was fine with it. That’s because, in this context, those views showed you all you needed to see in a clear and readable manner. Sure, you had to make sure that the…

--

--

Mina Pêcheux
CodeX
Writer for

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)