Set the camera to a known viewpoint
In the earlier lesson, you learned how to set the camera to a known viewpoint.
Listing 2 will accomplish the same thing that you accomplished manually in the earlier lesson.
Listing 2. Set the camera to a known viewpoint.
|// Set the camera to a known viewpoint|
|camera .setPointOfView( ground );|
|camera .turn( RIGHT , 135/360 revolutions );|
|camera .moveAwayFrom( target = parkingMeter , amount = 10 meters );|
|camera .move( UP , 1.5 meters );|