Part 3 of a series of projects that will further develop the programmed physics of bouncing balls. This series will take the ball from a simple bouncing to (hopefully) wall detection and collision sensing with a second ball.
Part 3 features advanced wall, ceiling, and slope detection, making sure the ball does not go through walls. I have left the edge detection script enabled. Boing. Boing. Boing.