Collision Detection

If you’ve looked at my air hockey code, you’ll see that I do very simple collision detection; each ball checks itself against the boundaries of the field, the goals, and the player’s cursor. However, there is one thing missing — collision between multiple pucks. More »