docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CircularPattern

    CircularPattern(float, float, float)

    Provide the orientation on a circle.

    Declaration
    public static Quaternion CircularPattern(float t, float omegaYaw = 6.2831855, float phase = 0)
    Parameters
    Type Name Description
    float t

    Time elapsed since the beginning in second.

    float omegaYaw

    Angle per second arround the Y axis.

    float phase

    Offset at starting time in seconds.

    Returns
    Type Description
    Quaternion

    An orientation pointing outside the circle form the center represented by a quaternion.

    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)