Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 7, 2005, 10:13:42 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: weapon now works perfectly: it shoots and moves to it. now i will have to change the projectile model itself….

File:
1 edited

Legend:

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

    r3750 r3752  
    158158  delete this->trackManager;
    159159
     160  delete this->simpleAnimation;
    160161  //delete garbagecollecor
    161162  //delete animator
     
    448449            this->spawn(baseNode);
    449450
    450             WorldEntity* secondNode = new Satellite(Vector(0,0,1), 1.0);
     451            WorldEntity* secondNode = new Satellite(Vector(0,0,1), 2.0);
    451452            baseNode->addChild(secondNode);
    452             secondNode->setRelCoor(new Vector(0.0, 3.0, 0.0));
     453            secondNode->setRelCoor(new Vector(0.0, 0.0, 3.0));
    453454            this->spawn(secondNode);
    454455
    455456
    456             WorldEntity* thirdNode = new Satellite(Vector(0,0,1), 2.0);
     457            WorldEntity* thirdNode = new Satellite(Vector(0,0,1), 1.0);
    457458            secondNode->addChild(thirdNode);
    458459            thirdNode->setRelCoor(new Vector(2.0, 0.0, 0.0));
     
    460461
    461462
     463           
     464           
    462465
    463466            WorldEntity* b = new Environment();
     
    499502
    500503
     504
    501505            this->simpleAnimation->animatorBegin();
    502506            this->simpleAnimation->selectObject(b);
     507            this->simpleAnimation->setAnimationMode(SINGLE);
    503508            this->simpleAnimation->addKeyFrame(f1);
    504509            this->simpleAnimation->addKeyFrame(f2);
Note: See TracChangeset for help on using the changeset viewer.