Camera Dolly Track
Panning the Camera manually is hard work, especially when you have multiple angles to shoot from. This is where the Dolly Track comes into play, the name and function references a type of smooth track which the camera is attached to and glides on. This produces a very smooth and clean camera pan and allows the camera to follow a desired path.
Setting Up the Dolly Track
Once you have set up the desired camera shot with the virtual cameras, it is time to create the dolly track itself. Under Cinemachine > Create Dolly Camera with Track. Then in the Hierarchy, we are going to delete the virtual camera that was automatically generated and are going to select our own virtual camera. But before we do that, lets find out dolly track by either double clicking the name on the Hierarchy, or CMD + F on the keyboard. We will need to place the track into our desired location, in my scene I wan the dolly track to be behind one of the security guards and it will pan slowly to face Darren, our main player.
The dolly track defaults with 0 and 1 points, but can manually add more. If you want to create a curve like above, you will need to have 3 or more points. To create more way points simply click the + icon in the inspector.
Attaching the Camera to the Dolly Track
Once you have the desired track layout, we can attach the camera. In the virtual camera that is chosen to be on the track, under the body tab within the Inspector, we are going to switch the “Transposer” to “Tracked Dolly”. Then under the path section, we are going to drag and drop the Dolly Track into the slot.
To test the Dolly Track we can simply alter the “Path Position” using the waypoint numbers. In my example, I have 3 waypoints starting from 0 to 2. If the Path Position is within any of those numbers, the camera will update the position.
In the next article, we will talk about animating with the Dolly Track.