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.
contacts state
world bodies array (needed to look up Body objects by ID)
Optional
optional contact listener to notify of removal
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.