docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TrackerSettings

    Settings to control damping for target tracking.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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.

    Extension Methods

    TrackerSettingsExtensions.GetMaxDampTime(TrackerSettings)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)