docs.unity3d.com
    Show / Hide Table of Contents

    Lazy Follow

    Makes the GameObject this component is attached to follow a target with a delay and some other layout options.

    Property Description
    Target (Optional) The object being followed. If not set, this will default to the main camera when this component is enabled.
    Target Offset The amount to offset the target's position when following. This position is relative/local to the target object.
    Movement Speed The laziness or smoothing that is applied to the follow movement. Higher values result in direct following, lower values will cause this object to follow more lazily.
    Snap On Enable Snap to target position when this component is enabled.
    Min Distance Allowed The min distance allowed within the time threshold which decides whether or not lazy follow capability is turned on.
    Max Distance Allowed The max distance allowed within the time threshold which decides whether or not lazy follow capability is turned on.
    Min Angle Allowed The min angle offset allowed within the time threshold which decides whether or not lazy rotation capability is turned on.
    Max Angle Allowed The max angle offset allowed within the time threshold which decides whether or not lazy rotation capability is turned on.
    Time Until Threshold Reaches Max Distance The time threshold (in seconds) where if max distance is reached the lazy follow capability will not be turned off.
    Time Until Threshold Reaches Max Angle The time threshold (in seconds) where if max angle change is reached the lazy follow capability will not be turned off.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023