How to use Cinemachine as a follow camera for platformer in Unity

Lets’ go over how to use Cinemachine as a follow camera.

Add Cinemachine package to your project following the steps in my previous article.

Add a new virtual camera to the scene:

Select the camera and drag the player to Follow target:

Lastly, set Body to Transposer and Binding mode to “Lock To Target On Assign”. Adjust Follow Offset and the damping as desired:

Good Luck!

--

--

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