Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3730 in orxonox.OLD for orxonox/trunk/src/simple_animation.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/simple_animation.cc

    r3729 r3730  
    263263      this->localTime -= this->currentFrame->time;
    264264
    265       this->lastPosition = this->currentFrame->position;
     265      this->currentFrame->object->setRelCoor(this->currentFrame->position);
     266      *this->lastPosition = *this->currentFrame->position;
     267
    266268      this->lastFrame = this->currentFrame;
    267269      this->currentFrame = this->frames->nextElement(this->currentFrame);
    268270    }
    269  
    270  
     271
    271272  /* now animate it */
    272273  switch( this->mode)
Note: See TracChangeset for help on using the changeset viewer.