How to Dolly/Track a Camera in Unity

Tyler Smallwood
3 min readDec 15, 2022

--

Objective: Set up a Dolly Track with Cart

We have talked about Dolly Tracking camera, today we will cover Drolly track with Cart. Let’s start by adding the Camera into the Scene. Go to Cinemachine → Dolly Track with Cart.

In our Hierarchy, we can see a Dolly Track and a DollyCart. In the image, I added them into a Empty Game Object to keep them together.

On the Track, we can set and add more if we would like.

Next Thing we will do is drop in a Virtual Camera and set the body to Tracked dolly.

As we have done before, typically we would want the Follow and Lookat to be the target or player. But with the Cart we will set the Follow as the Cart.

For the cart to work, make sure Auto Dolly is Enabled.

Last thing to do is on the Cart set the speed you would like the camera to be. I am setting it to 3 for now.

And just like that will get the camera to move along the track at a certain speed no matter the position of the player.

We have created a Camera that moves along a track while facing it’s target. Thank you for reading and have a wonderful day!

--

--

Tyler Smallwood
Tyler Smallwood

Written by Tyler Smallwood

I am passonate on learning to program and use Unity to become a skillful Unity Developer

No responses yet