How to use a Dolly Track in Unity
Stealth Game & Cinematography
Objective: Create a dolly track to animate cinemachine camera
Creating a dolly track is really simple. To make a dolly track you must have cinemachine added to your project but if you haven’t then you can add the latest version of cinemachine using Window>Package Manager
Now you can add a dolly track using Cinemachine>Create Dolly camera with Track
You can add a point through which you can control the angle of the dolly track and you can then change the position of the camera using the path position in cinemachine camera inspector.
If you have already created the cinemachine camera and want to add it to the dolly track then you can simply do it by changing the value of Body from Transposer to Tracked Dolly in inspector and add the dolly track gameobject inside path.