Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3739 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Apr 7, 2005, 12:33:01 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: worked on simpleanimation - not yet done.

File:
1 edited

Legend:

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

    r3734 r3739  
    472472
    473473            KeyFrame* f1 = new KeyFrame;
    474             f1->position = new Vector(20.0, 1.0, -1.0);
     474            f1->position = new Vector(-1.1, 0.0, 2.6);
    475475            f1->direction = new Quaternion();
    476             f1->time = 0.3;
     476            f1->time = 1.0;
    477477            f1->mode = NEG_EXP;
    478478
    479479
    480480            KeyFrame* f2 = new KeyFrame;
    481             f2->position = new Vector(10.0, 1.0, 5.0);
     481            f2->position = new Vector(-2.1, 0.0, 2.6);
    482482            f2->direction = new Quaternion();
    483             f2->time = 0.5;
     483            f2->time = 0.1;
    484484            f2->mode = NEG_EXP;
    485485
    486486            KeyFrame* f3 = new KeyFrame;
    487             f3->position = new Vector(5.0, 2.0, -1.0);
     487            f3->position = new Vector(-1.1, 0.0, 2.6);
    488488            f3->direction = new Quaternion();
    489             f3->time = 0.5;
     489            f3->time = 0.2;
    490490            f3->mode = NEG_EXP;
    491491
     
    495495            this->simpleAnimation->addKeyFrame(f1);
    496496            this->simpleAnimation->addKeyFrame(f2);
    497             this->simpleAnimation->addKeyFrame(f3);
     497            //this->simpleAnimation->addKeyFrame(f3);
    498498            //this->simpleAnimation->addKeyFrame(f2);
    499499            this->simpleAnimation->animatorEnd();
Note: See TracChangeset for help on using the changeset viewer.