Changeset 5059 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Aug 17, 2005, 12:06:20 AM (19 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/npc.cc
r5058 r5059 31 31 32 32 this->loadModelWithScale("models/ships/bolido.obj",5); 33 34 this->randomRotAxis = VECTOR_RAND(1); 33 35 } 34 36 … … 50 52 //if (directin.len() < 100) 51 53 this->shiftCoor(direction *dt * 5 * exp(-direction.len() / 30.0)); 54 this->shiftDir(Quaternion(.1, this->randomRotAxis)); 52 55 53 56 } -
orxonox/trunk/src/world_entities/npc.h
r5029 r5059 22 22 23 23 private: 24 Vector randomRotAxis; 24 25 25 26 ;
Note: See TracChangeset
for help on using the changeset viewer.