CinemachineDollyCart Class

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.
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          CinemachineCinemachineDollyCart

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
[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.

Constructors
  NameDescription
Public methodCinemachineDollyCart
Top
Fields
  NameDescription
Public fieldm_Path
The path to follow
Public fieldm_Position
The cart's current position on the path, in distance units
Public fieldm_PositionUnits
How to interpret the Path Position
Public fieldm_Speed
Move the cart with this speed
Public fieldm_UpdateMethod
When to move the cart, if Velocity is non-zero
Top
See Also