docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetLimitedDOFAxes

    GetLimitedDOFAxes(in PhysicsJoint, out bool3, out bool3)

    Gets the constrained degrees of freedom of a PhysicsJoint created using CreateLimitedDOF(RigidTransform, bool3, bool3) .

    Declaration
    public static void GetLimitedDOFAxes(this in PhysicsJoint joint, out bool3 linearAxes, out bool3 angularAxes)
    Parameters
    Type Name Description
    PhysicsJoint joint

    The joint.

    bool3 linearAxes

    [out] The linear axes constrained by the joint.

    bool3 angularAxes

    [out] The angular axes constrained by the joint.

    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)