ball rolling through a course and vector lines