Lately I've been working on implementing a good collision detection system for my game. Before implementing it into my game I decided to make a sort of simulation. I've followed many tutorials (mainly this one) but I can get it working. I followed it step by step, but I don't know if my error is in the overlap (checking if the two projections overlap) or in the whole code itself.
The code has got the Vector2D and ConvexPolygon implementation as well. Here's the code:
It's pasted in pastebin because it's quite long.