Struct TrackerSettings
Settings to control damping for target tracking.
Inherited Members
Namespace: Unity.Cinemachine.TargetTracking
Assembly: solution.dll
Syntax
[Serializable]
public struct TrackerSettings
Fields
Name | Description |
---|---|
AngularDampingMode | How to calculate the angular damping for the target orientation. Use Quaternion if you expect the target to take on very steep pitches, which would be subject to gimbal lock if Eulers are used. |
BindingMode | The coordinate space to use when interpreting the offset from the target |
PositionDamping | How aggressively the camera tries to maintain the offset, per axis. Small numbers are more responsive, rapidly translating the camera to keep the target's offset. Larger numbers give a more heavy slowly responding camera. Using different settings per axis can yield a wide range of camera behaviors |
QuaternionDamping | How aggressively the camera tries to track the target's rotation. Small numbers are more responsive. Larger numbers give a more heavy slowly responding camera. |
RotationDamping | How aggressively the camera tries to track the target's rotation, per axis. Small numbers are more responsive. Larger numbers give a more heavy slowly responding camera. |
Properties
Name | Description |
---|---|
Default | Get the default tracking settings |
Methods
Name | Description |
---|---|
Validate() | Called from OnValidate(). Makes sure the settings are sensible. |