Balls in a Box

Demo to detect ball collision against a box border. Collision detection is done based on center point of ball.