Struct CinemachineSplineDolly.DampingSettings
Settings for controlling damping
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Serializable]
public struct CinemachineSplineDolly.DampingSettings
Fields
Angular
How aggressively the camera tries to maintain the desired rotation. This is only used if Camera Rotation is not Default.
Declaration
[Range(0, 20)]
[Tooltip("How aggressively the camera tries to maintain the desired rotation. This is only used if Camera Rotation is not Default.")]
public float Angular
Field Value
Type | Description |
---|---|
float |
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 |
---|---|
bool |
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 |