Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 9, 2015, 4:38:02 PM (8 years ago)
Author:
gania
Message:

did nothing today

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI_HS15/src/orxonox/controllers/DivisionController.cc

    r10780 r10789  
    6363            this->bShooting_ = true;
    6464        }*/
    65      
    66         if (this->bHasTargetPosition_)
     65        
     66       /* if (this->bHasTargetPosition_)
    6767        {
    6868            this->moveToTargetPosition();
     69        }*/
     70        if (executingMoveToPoint_)
     71        {
     72            executingMoveToPoint_ = !this->moveAndRoll(dt);
    6973        }
    7074        if (this->bShooting_)
     
    8185        setTargetPositionOfFollower();
    8286        setTargetPositionOfWingman();
    83 
     87        if (!executingMoveToPoint_)
     88        {
     89            Vector3* targetPosition = new Vector3 (0, 0, -2000);
     90            moveToPoint(*targetPosition, 180);
     91            executingMoveToPoint_ = true;
     92        }
    8493       
    8594        if (this->myFollower_ && this->target_)
Note: See TracChangeset for help on using the changeset viewer.