Changeset 3731 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 6, 2005, 12:44:49 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3730 r3731 443 443 444 444 445 /* 445 446 WorldEntity* a = new Environment(); 446 447 this->localPlayer->addChild(a); 447 448 a->setRelCoor(new Vector(10.0, 2.0, 1.0)); 448 449 this->spawn(a); 449 450 */ 450 451 451 452 WorldEntity* b = new Environment(); … … 454 455 this->spawn(b); 455 456 457 /* 456 458 WorldEntity* c = new Environment(); 457 459 this->localPlayer->addChild(c); 458 460 c->setRelCoor(new Vector(10.0, 2.0, -1.0)); 459 461 this->spawn(c); 460 462 */ 461 463 462 464 this->simpleAnimation = SimpleAnimation::getInstance(); … … 482 484 f2->mode = LINEAR; 483 485 486 KeyFrame* f3 = new KeyFrame; 487 f3->position = new Vector(10.0, 0.0, -1.0); 488 f3->direction = new Quaternion(); 489 f3->time = 1.0; 490 f3->mode = LINEAR; 491 492 484 493 this->simpleAnimation->animatorBegin(); 485 494 this->simpleAnimation->selectObject(b); 486 495 this->simpleAnimation->addKeyFrame(f1); 487 496 this->simpleAnimation->addKeyFrame(f2); 497 //this->simpleAnimation->addKeyFrame(f3); 498 //this->simpleAnimation->addKeyFrame(f2); 488 499 this->simpleAnimation->animatorEnd(); 489 500
Note: See TracChangeset
for help on using the changeset viewer.