docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LookaheadSettings

    This structure holds settings for procedural lookahead.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct LookaheadSettings

    Fields

    Name Description
    Enabled

    Enable or disable procedural lookahead

    IgnoreY

    If checked, movement along the Y axis will be ignored for lookahead calculations

    Smoothing

    Controls the smoothness of the lookahead algorithm. Larger values smooth out jittery predictions and also increase prediction lag

    Time

    Predict the position this many seconds into the future.
    Note that this setting is sensitive to noisy animation, and can amplify the noise, resulting in undesirable jitter. If the camera jitters unacceptably when the target is in motion, turn down this setting, or increase the Smoothing setting, or animate the target more smoothly.

    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)