Original Post
I have finally got my collision system mostly working, but I have encountered a puzzling problem that I am having trouble solving correctly.
I am testing my system on a small pong game. The problem occurs when the ball gets sandwiched between the side of the screen and the paddle. This causes an almost infinite series of collisions between the ball and the paddle and the ball and the screen, which freezes up the game. While this problem is only apparent in a select case of a pong game, I can imagine situations in almost any game in which one object gets stuck between two others.
How should I handle this elegantly?