docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RotateY

    RotateY(float)

    Returns a RigidTransform that rotates around the y-axis by a given number of radians.

    Declaration
    public static RigidTransform RotateY(float angle)
    Parameters
    Type Name Description
    float angle

    The clockwise rotation angle when looking along the y-axis towards the origin in radians.

    Returns
    Type Description
    RigidTransform

    The RigidTransform of rotating around the y-axis by the given angle.

    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)