Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3730 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Apr 6, 2005, 12:11:10 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: animation player is not yet working, but it look more like the desired actions than ever…:)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3729 r3730  
    442442
    443443
     444
    444445            WorldEntity* a = new Environment();
    445             this->spawn(a, new Vector(200.0, -35.0, 5.0), new Quaternion());
     446            this->localPlayer->addChild(a);
     447            a->setRelCoor(new Vector(10.0, 2.0, 1.0));
     448            this->spawn(a);
     449
    446450
    447451            WorldEntity* b = new Environment();
    448452            this->localPlayer->addChild(b);
    449             b->setRelCoor(new Vector(10.0, 0.0, 0.0));
     453            b->setRelCoor(new Vector(10.0, 1.0, 1.0));
    450454            this->spawn(b);
     455
     456            WorldEntity* c = new Environment();
     457            this->localPlayer->addChild(c);
     458            c->setRelCoor(new Vector(10.0, 2.0, -1.0));
     459            this->spawn(c);
     460
    451461           
    452462            this->simpleAnimation = SimpleAnimation::getInstance();
Note: See TracChangeset for help on using the changeset viewer.