Struct CinemachineSplineDolly.DampingSettings
Settings for controlling damping
Namespace: Unity.Cinemachine
Syntax
[Serializable]
public struct DampingSettings
Fields
Angular
How aggressively the camera tries to maintain the desired rotation. This is only used if the Camera Up is not Default.
Declaration
[RangeSlider(0F, 20F)]
[Tooltip("How aggressively the camera tries to maintain the desired rotation. This is only used if the Camera Up is not Default.")]
public float Angular
Field Value
| Type | Description |
|---|---|
| Single |
Enabled
Enables damping, which causes the camera to move gradually towards the desired spline position.
Declaration
[Tooltip("Enables damping, which causes the camera to move gradually towards the desired spline position")]
public bool Enabled
Field Value
| Type | Description |
|---|---|
| Boolean |
Position
How aggressively the camera tries to maintain the offset along the x, y, or z directions in spline local space. Meaning:
- x represents the axis that is perpendicular to the spline. Use this to smooth out imperfections in the path. This may move the camera off the spline.
- y represents the axis that is defined by the spline-local up direction. Use this to smooth out imperfections in the path. This may move the camera off the spline.
- z represents the axis that is parallel to the spline. This won't move the camera off the spline. Smaller numbers are more responsive. Larger numbers give a heavier more slowly responding camera. Using different settings per axis can yield a wide range of camera behaviors.
Declaration
[Tooltip("How aggressively the camera tries to maintain the offset along the x, y, or z directions in spline local space. \n- x represents the axis that is perpendicular to the spline. Use this to smooth out imperfections in the path. This may move the camera off the spline.\n- y represents the axis that is defined by the spline-local up direction. Use this to smooth out imperfections in the path. This may move the camera off the spline.\n- z represents the axis that is parallel to the spline. This won't move the camera off the spline.\n\nSmaller numbers are more responsive, larger numbers give a heavier more slowly responding camera. Using different settings per axis can yield a wide range of camera behaviors.")]
public Vector3 Position
Field Value
| Type | Description |
|---|---|
| Vector3 |