I work on a little project trying to understand how collision detections is handled by engines and I did the detection part for a simple 2 square in java. I don't use a graphics library or meshes it is just java swing and java awt. This is what I have: https://vimeo.com/642432871
I have no idea to start implementing the part where the squares collide without going one trough another.