- Timestamp:
- Nov 28, 2015, 10:30:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/WingmanController.cc
r10883 r10885 21 21 * 22 22 * Author: 23 * Fabian 'x3n' Landau23 * Gani Aliguzhinov 24 24 * Co-authors: 25 * Dominik Solenicki25 * ... 26 26 * 27 27 */ … … 89 89 //spread copyOrientation called equally among the division 90 90 if (this->myLeader_->getIdentifier()->getName() == "SectionController") 91 this->actionCounter_ = 2;91 this->actionCounter_ = 1; 92 92 else 93 this->actionCounter_ = 5;93 this->actionCounter_ = 4; 94 94 } 95 95 } … … 126 126 + (orient* (targetRelativePosition))); 127 127 //let ship finish rotating. also don't call copyOrientation to often as it is a slow function. 128 if (this->actionCounter_ % 9== 0 && !this->bHasTargetOrientation_)128 if (this->actionCounter_ % 6 == 0 && !this->bHasTargetOrientation_) 129 129 this->setAction (Action::FLY, targetAbsolutePosition, orient); 130 130 else
Note: See TracChangeset
for help on using the changeset viewer.