public void setTheStage ( ) {
|
| |
doInOrder { |
| |
// Align objects to the world |
| ground .setPointOfView( world ); duration = 0 seconds |
| parkingMeter .setPointOfView( world ); duration = 0 seconds |
| iceSkater .setPointOfView( world ); duration = 0 seconds |
| // Set the camera to a known viewpoint |
| camera .setPointOfView( ground ); duration = 0 seconds |
| camera .turn( RIGHT , 135/360 revolutions ); duration = 0 seconds |
| camera .moveAwayFrom( target = parkingMeter , amount = 10 meters ); duration = 0 seconds |
| camera .move( UP , 1.5 meters ); duration = 0 seconds |
| // Set skater to her starting viewpoint |
| iceSkater .turn( RIGHT , 0.25 revolutions ); duration = 0 seconds |
| iceSkater .moveAwayFrom( target = parkingMeter , amount = 2 meters ); duration = 0 seconds |
| } |
| } |