Gravity and basic collision detection.