Original Post
Hi, Hope you are all well. I am using the code below to move a ball on a pre-determined path at a constant speed. It works fine until it gets to the endpoint. At this stage the ball starts shaking. By looking at the normalized value of d, as it arives at the endpoint, I see it jumping from -1 to 1, therefor, causing the problem. The value is stable befor reaching the endpoint. How should I fix this so the Ball stops dead at the endpoint? A = BallPosition B = EndWayPoint d = B-A Then Normalized A = A + d * Time * Speed Any help much appreciated. :) Cheers.