docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Constructor PhysicsConstrainedBodyPair

    PhysicsConstrainedBodyPair(Entity, Entity, bool)

    Constructor.

    Declaration
    public PhysicsConstrainedBodyPair(Entity entityA, Entity entityB, bool enableCollision)
    Parameters
    Type Name Description
    Entity entityA

    The entity a.

    Entity entityB

    The entity b.

    bool enableCollision

    True to enable, false to disable the collision.

    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)