what is the simplest algorithm for collision detection that respects the following requirements:
The collision is only between cubes that are always aligned with the axis of the world (not rotated).
Collision between frames must be detected. I mean, since the objects of the game may be moving very fast, I can have two objects that in the next frame are not colliding, but that have collided between the current and the next frame.
The movement of the objects is accelerated (we have gravity).
I need to know where did the objects collide (a point coordinate, the time between frames when this collision happened, ...)