docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SetLimitedHingeRange

    SetLimitedHingeRange(ref PhysicsJoint, FloatRange)

    Applies the specified range of motion to a PhysicsJoint created using CreateLimitedHinge(BodyFrame, BodyFrame, FloatRange) .

    Declaration
    public static void SetLimitedHingeRange(this ref PhysicsJoint joint, Math.FloatRange angularRange)
    Parameters
    Type Name Description
    PhysicsJoint joint

    [in,out] The joint.

    Math.FloatRange angularRange

    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)