crashcat docs
    Preparing search index...

    Function destroyBodyContacts

    • Destroy all contacts for a specific body. Called when a body is destroyed.

      Parameters

      • contacts: Contacts

        global contact array

      • bodies: Bodies

        body array for looking up other bodies

      • body: RigidBody

        body whose contacts should be destroyed

      • Optionallistener: Listener

        optional contact listener to notify of removal

      Returns void