I have a lot of AABB bouncing on the screen. Doing collision/response between 2 AABB is fairly easy, but how do you handle this when you can be pulling AABB's apart but making them getting into another AABB? I mean something like this scenario:
Whe have 3 AABB.
We check if first one collides with the other two. No collision is found.
We check if second collides agains the third (we don't need to recheck agains first). We find a collision, we separate second AABB form third but it intersects now with first one.
This will produce a bad response/collision detection. How do you handle this chained collisions?.
Edit: I forgot to say that all aabb are dynamics objects. I mean, they move.