In a squash game ( simular to pong, but with one player, and the ball bounces off the walls.) I have collision detection with the ball and the paddle and when they collide t