Changeset 3745 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 7, 2005, 3:12:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3744 r3745 455 455 this->spawn(b); 456 456 457 /*457 458 458 WorldEntity* c = new Environment(); 459 459 this->localPlayer->addChild(c); 460 460 c->setRelCoor(new Vector(10.0, 2.0, -1.0)); 461 461 this->spawn(c); 462 */462 463 463 464 464 this->simpleAnimation = SimpleAnimation::getInstance(); … … 485 485 486 486 KeyFrame* f3 = new KeyFrame; 487 f3->position = new Vector( -1.1, 0.0, 2.6);487 f3->position = new Vector(10.0, 2.0, -1.0); 488 488 f3->direction = new Quaternion(); 489 489 f3->time = 0.2; 490 490 f3->mode = NEG_EXP; 491 492 KeyFrame* f4 = new KeyFrame; 493 f4->position = new Vector(10.0, 5.0, -1.0); 494 f4->direction = new Quaternion(); 495 f4->time = 1.0; 496 f4->mode = NEG_EXP; 491 497 492 498 … … 495 501 this->simpleAnimation->addKeyFrame(f1); 496 502 this->simpleAnimation->addKeyFrame(f2); 503 this->simpleAnimation->start(); 504 this->simpleAnimation->selectObject(c); 505 this->simpleAnimation->addKeyFrame(f3); 506 this->simpleAnimation->addKeyFrame(f4); 497 507 this->simpleAnimation->start(); 498 508 //this->simpleAnimation->addKeyFrame(f3);
Note: See TracChangeset
for help on using the changeset viewer.