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.
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[ExecuteInEditMode]
public class CinemachineDollyCart : MonoBehaviour
Fields
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 |