Hi all,
So I was trying to implement some basic physics simulations and for that I needed to check if collider overlaps other colliders. When it does I push it out of them and continue doing other things. During that I noticed that sometimes Collider2D.Overlap returns colliders which Physic2D.ColliderDistance2D considers as being on small distance from the main collider. Here’s a little screenshot of the code and debugger.
And my question is, which of these methods gives “more correct” intersection of colliders?
