Cinemachine
![]() | CinemachineDollyCart Class |
This is a very simple behaviour that constrains its transform to a CinemachinePath.
It can be used to animate any objects along a path, or as a Follow target for
Cinemachine Virtual Cameras.

Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)

[DocumentationSortingAttribute(21f, DocumentationSortingAttributeLevel.UserRef)] [ExecuteInEditMode] public class CinemachineDollyCart : MonoBehaviour
Cinemachine.CinemachineDollyCart = function(); Type.createClass( 'Cinemachine.CinemachineDollyCart', UnityEngine.MonoBehaviour);
The CinemachineDollyCart type exposes the following members.

Name | Description | |
---|---|---|
![]() | CinemachineDollyCart |

Name | Description | |
---|---|---|
![]() | m_Path | The path to follow |
![]() | m_Position | The cart's current position on the path, in distance units |
![]() | m_PositionUnits | How to interpret the Path Position |
![]() | m_Speed | Move the cart with this speed |
![]() | m_UpdateMethod | When to move the cart, if Velocity is non-zero |
