i just remembered the one thing that ive struggled with. A proper AABB algorythm for looping worlds which does not create subdivisions of boxes to solve the edge cases. imagine the world should loop in that box. now the to rectangles should in theory touch and push each other. But normal AABB doesnt handle these cases. ive tried a few modifications, but only had succes by dividing the rectangles into multiple rectangles to handle edge cases.
if you find a algorithm which can properly handle looping worlds without making multiple rectangles, id be a huge help.
