Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5060 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Aug 17, 2005, 12:07:02 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better speed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/npc.cc

    r5059 r5060  
    5252  //if (directin.len() < 100)
    5353  this->shiftCoor(direction *dt * 5 * exp(-direction.len() / 30.0));
    54   this->shiftDir(Quaternion(.1, this->randomRotAxis));
     54  this->shiftDir(Quaternion(dt, this->randomRotAxis));
    5555
    5656}
Note: See TracChangeset for help on using the changeset viewer.