- Timestamp:
- Dec 8, 2015, 1:02:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/FlyingController.cc
r10946 r10958 45 45 this->spread_ = 200; 46 46 this->tolerance_ = 80; 47 this->bCopyOrientation_ = true; 47 48 } 48 49 FlyingController::~FlyingController() … … 266 267 + (orient* (targetRelativePosition))); 267 268 //let ship finish rotating. also don't call copyOrientation too often as it is a slow function. Don't know how to do it different 268 if ( static_cast<int>(rnd(1.0f) * 100) % 3 == 0)269 if (this->bCopyOrientation_) 269 270 this->setTargetOrientation (orient); 270 271 //set a position to fly to
Note: See TracChangeset
for help on using the changeset viewer.










