docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method CreateFixed

    CreateFixed(BodyFrame, BodyFrame)

    Create a Fixed joint.

    Declaration
    public static PhysicsJoint CreateFixed(BodyFrame bodyAFromJoint, BodyFrame bodyBFromJoint)
    Parameters
    Type Name Description
    BodyFrame bodyAFromJoint

    Specifies a reference point and orientation in the space of body A.

    BodyFrame bodyBFromJoint

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

    Returns
    Type Description
    PhysicsJoint

    The new fixed 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)