Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3734 in orxonox.OLD for orxonox/trunk/src/simple_animation.cc


Ignore:
Timestamp:
Apr 6, 2005, 11:33:50 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: SimpleAnimation: the NEG_EXP function now gets scaled in a very smooth manner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/simple_animation.cc

    r3733 r3734  
    264264      this->localTime -= this->currentFrame->time;
    265265
    266       this->currentFrame->object->setRelCoor(*this->currentFrame->position);
     266      //this->currentFrame->object->setRelCoor(*this->currentFrame->position);
    267267      *this->lastPosition = *this->currentFrame->position;
    268268
     
    273273        {
    274274          *this->tmpVect = *this->currentFrame->position - *this->lastFrame->position;
    275           deltaT = 1/this->currentFrame->time * logf(1.0 + 100.0/this->tmpVect->len());
     275          deltaT = 1/this->currentFrame->time * logf(1.0 + 600.0/this->tmpVect->len());
    276276        }
    277277    }
Note: See TracChangeset for help on using the changeset viewer.