Changeset 3752 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc
- Timestamp:
- Apr 7, 2005, 10:13:42 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3750 r3752 158 158 delete this->trackManager; 159 159 160 delete this->simpleAnimation; 160 161 //delete garbagecollecor 161 162 //delete animator … … 448 449 this->spawn(baseNode); 449 450 450 WorldEntity* secondNode = new Satellite(Vector(0,0,1), 1.0);451 WorldEntity* secondNode = new Satellite(Vector(0,0,1), 2.0); 451 452 baseNode->addChild(secondNode); 452 secondNode->setRelCoor(new Vector(0.0, 3.0, 0.0));453 secondNode->setRelCoor(new Vector(0.0, 0.0, 3.0)); 453 454 this->spawn(secondNode); 454 455 455 456 456 WorldEntity* thirdNode = new Satellite(Vector(0,0,1), 2.0);457 WorldEntity* thirdNode = new Satellite(Vector(0,0,1), 1.0); 457 458 secondNode->addChild(thirdNode); 458 459 thirdNode->setRelCoor(new Vector(2.0, 0.0, 0.0)); … … 460 461 461 462 463 464 462 465 463 466 WorldEntity* b = new Environment(); … … 499 502 500 503 504 501 505 this->simpleAnimation->animatorBegin(); 502 506 this->simpleAnimation->selectObject(b); 507 this->simpleAnimation->setAnimationMode(SINGLE); 503 508 this->simpleAnimation->addKeyFrame(f1); 504 509 this->simpleAnimation->addKeyFrame(f2);
Note: See TracChangeset
for help on using the changeset viewer.