- Timestamp:
- Nov 29, 2015, 6:36:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/SectionController.cc
r10886 r10888 126 126 { 127 127 this->maneuver(); 128 this->bShooting_ = this->canFire(); 128 this->bShooting_ = this->canFire(); 129 // Vector3 healthPosition = bestHealthPickup((this->target_->getWorldPosition() - this->getControllableEntity()->getWorldPosition()).length()); 130 // if ((this->getControllableEntity()->getWorldPosition() - healthPosition).length() < this->tolerance_) 131 // { 132 // //----choose where to go---- 133 // this->maneuver(); 134 // } 135 // else 136 // { 137 // this->dodgeTowards(healthPosition); 138 // } 139 // //----fire if you can---- 140 // this->bShooting_ = this->canFire(); 129 141 } 130 142 }
Note: See TracChangeset
for help on using the changeset viewer.