in the new version I'm working on I have fixed the problem when the ball's velocity cuts off. I really appreciate the feedback.