docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetLimitedHingeRange

    GetLimitedHingeRange(in PhysicsJoint)

    Gets the range of motion for a PhysicsJoint created using CreateLimitedHinge(BodyFrame, BodyFrame, FloatRange) .

    Declaration
    public static Math.FloatRange GetLimitedHingeRange(this in PhysicsJoint joint)
    Parameters
    Type Name Description
    PhysicsJoint joint

    The joint.

    Returns
    Type Description
    Math.FloatRange

    The minimum required and maximum possible angle of rotation about the aligned axes.

    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)