In this video you see how to use the built-in sudden motion sensor in Apple Powerbooks and MacBooks for "real" gravity in physics simulations.
With the cart moving at a constant velocity the steel ball is shot straight upward. Since it had the same horizontal velocity as the cart it falls directly back into the ...