Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10527 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jan 30, 2007, 11:45:55 PM (18 years ago)
Author:
bknecht
Message:

some minor changes at the AI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ai/attack_module.cc

    r10515 r10527  
    149149
    150150        view = target->getAbsCoor()+randomView-myPosition;
    151         view = view.cross( Vector(0,-1,0) ).getNormalized();
     151        view = view.cross( Vector(0,1,0) ).getNormalized();
    152152
    153153        npc->setAbsDirSoft( Quaternion( view, Vector(0,1,0)),8/myRadius);
Note: See TracChangeset for help on using the changeset viewer.