docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddPosition

    AddPosition(Vector3, float)

    Add a new target position to the history buffer

    Declaration
    public void AddPosition(Vector3 pos, float deltaTime)
    Parameters
    Type Name Description
    Vector3 pos

    The new target position

    float deltaTime

    deltaTime since the last target position was added

    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)