Class CinemachineSplineCart
This is a very simple behaviour that constrains its transform to a Spline.
It can be used to animate any objects along a path, or as a tracking target for
Cinemachine Cameras.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[ExecuteAlways]
[DisallowMultipleComponent]
[AddComponentMenu("Cinemachine/Helpers/Cinemachine Spline Cart")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/CinemachineSplineCart.html")]
public class CinemachineSplineCart : MonoBehaviour
Fields
Name | Description |
---|---|
Automatic |
Controls how automatic dollying occurs |
Position |
How to interpret the Spline Position |
Spline | The Spline container to which the camera will be constrained. |
Spline |
The cart's current position on the spline, in position units |
Tracking |
Used only by Automatic Dolly settings that require it |
Update |
When to move the cart, if Speed is non-zero |