Gravity pulls the ball towards the bottom of the area! But you can use the "up" key to fire a "thruster" on the bottom of the ball. Notice that the ball has inertia ... ! This project is like the "Simple Gravity Ball" project except it adds motion in the left and right directions (via the left and right arrow keys)
This is a simple movement demonstration project that uses Newton's 1st and 2nd laws of motion to compute the movements of a ball. Gravity and the "thruster" are implemented as *forces* and then the forces are used to calculate accelerations, changes in velocities, and changes in positions.