Using dolly paths
A dolly path is an array of waypoints in a Scene. Use a dolly path to specify a fixed course to position or animate a Virtual Camera. Use the Tracked Dolly algorithm to use a dolly path with your Virtual Camera.
Cinemachine provides two types of dolly paths:
Smooth Path: Each waypoint has a position and roll. Cinemachine uses Bezier interpolation between the waypoints. Smooth Path gives you less control over the position of the path but animation along the path is always smooth and continuous. This is the recommended path type.
Path: Each waypoint has a position, tangent, and roll. Use Path for finer control of the track’s position between waypoints. Animating a VIrtual Camera along a Path might cause jerky motion over waypoints when tangents don’t allow a smooth transition to and from the waypoint.
To create a Virtual Camera with a dolly path:
In the Unity menu, choose Cinemachine > Create Dolly Camera with Track. A new Virtual Camera and dolly track appears in the Hierarchy. By default, the dolly track GameObject is a Smooth Path.
In the Hierarchy window, select the new dolly track GameObject.
In the Inspector, add and adjust waypoints.
To create a path GameObject:
In the Unity menu, choose GameObject > Create Empty.
Add the path component, either CinemachinePath or CinemachineSmoothPath
To edit a waypoint in a path:
In the Hierarchy window, select the path GameObject.
Edit the waypoint by manipulating its Gizmo in the Scene view or edit its properties in the Inspector.
Note: When editing a waypoint for a regular path in the Scene view, the waypoint has two Gizmos: for the position and for the tangent.