Changeset 3964 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 25, 2005, 11:45:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3870 r3964 44 44 #include "list.h" 45 45 46 #include "animation3d.h" 46 47 47 48 … … 465 466 466 467 467 468 469 WorldEntity* b = new Environment(); 470 this->localPlayer->addChild(b); 471 b->setRelCoor(Vector(10.0, 1.0, 1.0)); 472 this->spawn(b); 473 474 468 475 469 WorldEntity* c = new Environment(); 476 470 this->localPlayer->addChild(c); … … 478 472 this->spawn(c); 479 473 474 475 Animation3D* animation = new Animation3D(c); 476 animation->setInfinity(ANIM_INF_REPLAY); 477 animation->addKeyFrame(Vector(0, 0, 0), Quaternion(), 1.0, ANIM_NEG_EXP); 478 animation->addKeyFrame(Vector(5, 5, -5), Quaternion(), 1.0, ANIM_NEG_EXP); 479 animation->addKeyFrame(Vector(0, 0, 0), Quaternion(), 1.0, ANIM_NEG_EXP); 480 481 480 482 /* 481 483 KeyFrame* f1 = new KeyFrame;
Note: See TracChangeset
for help on using the changeset viewer.