Virtual Camera Extensions in Unity’s Cinemachine

Objective: To understand what Virtual Camera Extensions are in Cinemachine.

Cinemachine Virtual Camera Extensions List

Extensions are additional virtual camera components that can be added to a virtual camera to change their behaviour. Some examples include camera offsets, colliders, follow zoom, storyboard, impulse listener and post processing. Let’s take a look at a few below.

CinemachineVirtualCamera Extensions

Cinemachine Camera Offset Extension

This is a simple extension that tells the virtual camera where to be offset and which setting should it be applied after Body, Aim, Noise or Finalise. You also have the ability to be able to create your own extensions by deriving from the CinemachineExtension class.

CinemachineCameraOffset Extension

Cinemachine Post Processing Extension

This extension allows you to add a post processing profile to the virtual camera. However, it requires a few steps to get setup first in order to use it.

  1. You must install Post Processing V2 from the Package Manager.

2. Add the componentPost Process Layer’ to the Unity camera that is in your scene which has the CinemachineBrain component attached to it.

Post Process Layer component added to the Main Camera

3. Create a new profile in the extension and any post processing overrides you wish to apply.

Creating a new profile, adding a focus target and adding a Post Processing override — Bloom

Cinemachine Collider

This extension tells the virtual camera to actively move away from obstacles that could block the line of sight of the ‘LookAttarget.

Cinemachine Collider Extension

There is also an abundant amount of settings to be played around with here that include obstacle detection through tags and layers, avoid obstacles and what strategies it should implement to make this happen.




Passionate Unity Game Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Twelve Factor App — methodology for successful Microservices

Unity Game Development — Building UI Elements in Unity

DelayQueue in Python

Five useful Linux commands

Convert Input Image to PNG Format in Python


Too Many Hands in the Cookie Jar

How to Build a Raspberry Pi Door Monitor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chris Hilton

Chris Hilton

Passionate Unity Game Developer

More from Medium

How to Add Custom Post Processing Files to Individual Cameras in Cinemachine

Day 98: Character Animation Part 1

Creating a Moving Platform in Unity

2.5D Platformer — Improving the Ledge Grab #10