docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field SlerpPosition

    When true and interpolation is enabled, this will Slerp to the target position.

    Namespace: Unity.Netcode.Components
    Assembly: solution.dll
    Syntax
    [Tooltip("When enabled the position interpolator will Slerp towards its current target position.")]
    public bool SlerpPosition
    Returns
    Type Description
    bool
    Remarks

    This is synchronized by authority and only applies to position interpolation. During runtime, this should only be changed by the authoritative side. Non-authoritative instances will be overridden by the next authoritative state update.

    In This Article
    Back to top
    Copyright © 2024 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)