Cinemachine Camera Follow

Niraj Karki
Aug 5, 2021

--

2.5D Game Development

Objective: set cinemachine camera to follow player.

First of all go to Windows>Package Manager

Then search for Cinemachine and install it in your project. IF you didn’t see cinemachine then make sure that your are inside the Unity Registry on top left of the tab.

After the installation is complete, you can see Cinemachine in the menu. Select the Create virtual camera inside cinemachine.

Then drag your player gameobject in the Follow.

Then inside the Body, change the Binding mode to World Space. You can also change the damping values to determine the sensitivity of the follow and Follow offset to determine the player positioning.

And this is the final result.

--

--

No responses yet