{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method CreateLimitedDOF | Unity Physics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateLimitedDOF

    CreateLimitedDOF(RigidTransform, bool3, bool3)

    Create a LimitedDegreeOfFreedom joint.

    Declaration
    public static PhysicsJoint CreateLimitedDOF(RigidTransform offset, bool3 linearLocks, bool3 angularLocks)
    Parameters
    Type Name Description
    RigidTransform offset

    Specifies a target point and orientation in the space of body B.

    bool3 linearLocks

    Specifies which linear axes are constrained.

    bool3 angularLocks

    Specifies which angular axes are constrained.

    Returns
    Type Description
    PhysicsJoint

    The new limited degree of freedom.

    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)