docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EvaluateTangent

    EvaluateTangent(float)

    Get the tangent of the curve at a point along the path.

    Declaration
    public virtual Vector3 EvaluateTangent(float pos)
    Parameters
    Type Name Description
    float pos

    Postion along the path. Need not be standardized.

    Returns
    Type Description
    Vector3

    World-space direction of the path tangent. Length of the vector represents the tangent strength

    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)