Physics engine :) Press Space to reset ball position. (Tip: you can build up momentum by spamming space) Uses WAY too much math. Known issues: Weird momentum loss on left-pointing planes Issues with sticking to rounded planes
I messed up the math again. Defaults: Velocity Upon Collision: 80% Gravity Speed: 9.8m/s Air Density: 1.225 Mass: 100 units (not specified)