docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RotateZ

    RotateZ(float)

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

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

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

    Returns
    Type Description
    RigidTransform

    The RigidTransform of rotating around the z-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)