This is a extremly simple bouncing ball simulation. i used bob the ball's bouncing scripts and modified and combined them in to this