Limit-Theory-Redux / ltheory

Limit Theory Redux is a fork of the discontinued open-world space simulation game Limit Theory. We have made it our mission to continue the development of the ambitious Limit Theory project as an open source initiative.
Apache License 2.0
62 stars 8 forks source link

Ignore stale colliders when looking at the narrowphase. #248

Closed dgavedissian closed 6 months ago

dgavedissian commented 6 months ago

This can happen if a collider is removed between when the narrowphase is updated (during a physics tick) and when we look at the narrowphase's results, either through Trigger.GetContentsCount, or Physics.GetNextCollision.