Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10275 in orxonox.OLD for branches/ai/src/ai/swarm_gorel.cc


Ignore:
Timestamp:
Jan 17, 2007, 7:05:42 PM (17 years ago)
Author:
tfahrni
Message:

npc can shoot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/ai/swarm_gorel.cc

    r10266 r10275  
    7676        }
    7777
    78         if(angleDeg(view,newView)>viewChangeMax){
     78        /*if(angleDeg(view,newView)>viewChangeMax){
    7979                std::cout << "alarm\n";
    80         }
     80        }*/
     81
    8182        speed=newSpeed;
    8283        view=newView;
     
    9394        if(!taskComplete){
    9495                //swarmPosition=this->getPosition();
    95                 if((destination-position).len()<5)taskComplete=true;
     96                if((destination-position).len()<10)taskComplete=true;
    9697        }
    9798}
Note: See TracChangeset for help on using the changeset viewer.