Class CinemachineDollyCart
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.
Inheritance
System.Object
CinemachineDollyCart
Namespace: Cinemachine
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
public class CinemachineDollyCart : MonoBehaviourFields
m_Path
The path to follow
Declaration
public CinemachinePathBase m_PathField Value
| Type | Description | 
|---|---|
| CinemachinePathBase | 
m_Position
The cart's current position on the path, in distance units
Declaration
public float m_PositionField Value
| Type | Description | 
|---|---|
| System.Single | 
m_PositionUnits
How to interpret the Path Position
Declaration
public CinemachinePathBase.PositionUnits m_PositionUnitsField Value
| Type | Description | 
|---|---|
| CinemachinePathBase.PositionUnits | 
m_Speed
Move the cart with this speed
Declaration
public float m_SpeedField Value
| Type | Description | 
|---|---|
| System.Single | 
m_UpdateMethod
When to move the cart, if Velocity is non-zero
Declaration
public CinemachineDollyCart.UpdateMethod m_UpdateMethodField Value
| Type | Description | 
|---|---|
| CinemachineDollyCart.UpdateMethod |