Changeset 5060 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Aug 17, 2005, 12:07:02 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/npc.cc
r5059 r5060 52 52 //if (directin.len() < 100) 53 53 this->shiftCoor(direction *dt * 5 * exp(-direction.len() / 30.0)); 54 this->shiftDir(Quaternion( .1, this->randomRotAxis));54 this->shiftDir(Quaternion(dt, this->randomRotAxis)); 55 55 56 56 }
Note: See TracChangeset
for help on using the changeset viewer.