Debugging ball motion