2D Camera using a Virtual Camera

Russell Smith
Dec 4, 2023

--

Another great feature of Cinemachine it also has a feature for a 2D Camera.

I’m going to show a quick look at setting up one.

So I want a new Virtual camera, so I select one, and I can begin to change it so it works with my 2D look I want.

Basically, I just want a camera that will follow my Player, wherever they move. So for this I need the Follow to be the Player.

Very similar stuff as I’ve done before. For this example though I’m wanting to make a top down 2D game, so the positioning of the camera is important, so I need to make sure it is placed above the player, looking down on them.

So when we have a look at it in play, it’s simple yet effective.

--

--