Dolly Track in Unity- Game Dev Series 63

Objective: using dolly track in cutscene.

Dolly track provides a better and smooth camera movement by setting a path. In film industry, it is quite heavy and needs lots of people to set the track. However in Unity, we can easily create dolly track by using Cinemachine.

In this article, we will create a dolly track to take a smooth shot.

Create dolly track

First, click Cinemachine from the top menu bar and select “Create Dolly Camera with Track”.

It should create a virtual camera and a dolly track automatically.

Before we adjust the position of dolly track, remove the dolly track in camera. Then we can move the camera freely.

Create path of dolly track

Then select dolly track, click the add button in Waypoints under the Path Details.

It should create the first waypoint in scene, and would be easier to locate the position.

Then create another waypoint, you should notice there is a track between 2 waypoints.

We can adjust the the curve by adjusting the position of the extra point next to the waypoint 1.

Place the track to the position you want, then we can assign this track to our camera.

Use track to camera

Click the camera and drag the track into Path Position under Body.

We can create an empty to camera as Look At target.

Now you camera should focus on the target. Since the waypoint ID is from 0 to 1, we can change the Path Position in Body of camera to check the result.

Now we can move the camera in Animation by changing the path position.

Enjoy the smooth camera movement!

--

--

--

A passionate gamer whose goal is to work in video game development.

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

Recommended from Medium

Dependency Track for identifying security vulnerabilities :

Customizing Your Splunk Login Screen

automated games tasks using packets

district0x Dev Update - April 13th, 2021

Top Hybrid Mobile App Frameworks

Analytics Custom Events- App Dev Series 15

Shared Code at Quizlet

Introducing FalconPool — A layer 2 fundraising protocol

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
S.J. Jason Liu

S.J. Jason Liu

A passionate gamer whose goal is to work in video game development.

More from Medium

What is a Control Track in Timeline

Alter Your Pre-Built Texture Map- Game Dev Series 152

Using Height Maps and Pixel Displacement in Unity3D

Create A White Noise Shader With Shader Graph In Unity