Changeset 10527 in orxonox.OLD for trunk/src/ai
- Timestamp:
- Jan 30, 2007, 11:45:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ai/attack_module.cc
r10515 r10527 149 149 150 150 view = target->getAbsCoor()+randomView-myPosition; 151 view = view.cross( Vector(0, -1,0) ).getNormalized();151 view = view.cross( Vector(0,1,0) ).getNormalized(); 152 152 153 153 npc->setAbsDirSoft( Quaternion( view, Vector(0,1,0)),8/myRadius);
Note: See TracChangeset
for help on using the changeset viewer.