This example demonstrates movement between waypoints of an object with a limited rotational speed. The 1, 2, and 3 keys command the model to move to the red, greed, and blue waypoints (cubes) respectively. The code is a combination of the last two examples. In the prerender
function the heading of the model is updated first, and then it is moved straight ahead according to the new heading.