Unity3D: The Dolly Camera and Track
When installing Cinemachine, it comes with a variety of virtual cameras. One, in particular, is the Dolly Camera!
A dolly camera acts as a series of waypoints for our virtual camera to move in-between. The dolly track comes with the Cinemachine Path component, where you can add as many waypoints needed for the shot, as seen below.
In the scene view, the waypoints are identified by the waypoint number depending on how many waypoints you have.
In this case, I have two for my “Capture” cutscene I am currently making. You can click on a waypoint and adjust its position, as seen below.
I adjusted it to curve around the security personnel while the camera looks at the main character. I had to create an empty transform child object within the main character game object as a reference target for the virtual camera.
When all is set, we can preview what we have.
I would say that it looks great for my first dolly camera setup! At first, it seemed a bit confusing, but with some trial and error, it’s very simple.
That is all for today. Thank you for your time!
Gabriel