Changeset 3750 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 7, 2005, 7:37:25 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3745 r3750 30 30 #include "environment.h" 31 31 #include "skysphere.h" 32 #include "satellite.h" 32 33 #include "terrain.h" 33 34 #include "light.h" … … 442 443 443 444 444 445 /* 446 WorldEntity* a = new Environment(); 447 this->localPlayer->addChild(a); 448 a->setRelCoor(new Vector(10.0, 2.0, 1.0)); 449 this->spawn(a); 450 */ 445 WorldEntity* baseNode = new Satellite(Vector(1,0,1), 1.2); 446 this->localPlayer->addChild(baseNode); 447 baseNode->setRelCoor(new Vector(10.0, 2.0, 1.0)); 448 this->spawn(baseNode); 449 450 WorldEntity* secondNode = new Satellite(Vector(0,0,1), 1.0); 451 baseNode->addChild(secondNode); 452 secondNode->setRelCoor(new Vector(0.0, 3.0, 0.0)); 453 this->spawn(secondNode); 454 455 456 WorldEntity* thirdNode = new Satellite(Vector(0,0,1), 2.0); 457 secondNode->addChild(thirdNode); 458 thirdNode->setRelCoor(new Vector(2.0, 0.0, 0.0)); 459 this->spawn(thirdNode); 460 461 451 462 452 463 WorldEntity* b = new Environment(); … … 462 473 463 474 464 this->simpleAnimation = SimpleAnimation::getInstance();465 466 /*467 frame->position = point;468 frame->orientation = orientation;469 frame->time = time;470 frame->mode = DEFAULT_ANIMATION_MODE;471 */472 473 475 KeyFrame* f1 = new KeyFrame; 474 476 f1->position = new Vector(-1.1, 0.0, 2.6); … … 506 508 this->simpleAnimation->addKeyFrame(f4); 507 509 this->simpleAnimation->start(); 508 //this->simpleAnimation->addKeyFrame(f3);509 //this->simpleAnimation->addKeyFrame(f2);510 510 this->simpleAnimation->animatorEnd(); 511 511
Note: See TracChangeset
for help on using the changeset viewer.