In LAB2.POV, replace the translate and rotate statements for the 8ball object. The eight ball has three separate animation states. In frames 1 to 30, the eight ball does not move. It is struck by the cue ball at frame 30 and moves right in frames 30 to 38. Until the end of the animation at frame 59, the ball continues moving right but also moves down into the side pocket.
Relative attributes are usually easier to compute and keep track of than absolute attributes.
Complex object motions are best done with relative attributes so an entire sequence can moved by changing only the values in the absolute frame. Use GO LAB2 to render the next test animation. Try adding friction to the table by modifying the cue ball easeto value to slow the ball down. Add more moving balls in the background. Add moving light sources.