Ball dynamics