crashcat docs
    Preparing search index...

    Function destroyUnprocessedContacts

    • Destroy all contacts that weren't processed this frame. Called after all broadphase pairs have been processed. This cleans up stale contacts between bodies that are no longer near each other.

      Parameters

      • contacts: Contacts

        contacts state

      • bodies: Bodies

        world bodies array (needed to look up Body objects by ID)

      • Optionallistener: Listener

        optional contact listener to notify of removal

      Returns void