- Timestamp:
- Dec 8, 2015, 1:02:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/FlyingController.h
r10946 r10958 72 72 FormationMode::Value getFormationMode() const 73 73 { return this->formationMode_; } 74 74 bool bCopyOrientation_; //<! set to true by default, MasterController sets it in its tick(), 75 //<! if true, this will set its leader orientation as target orientation in action() 75 76 protected: 76 77 void stopMoving(); //<! don't call moveToTargetPosition() in tick, call lookAtTarget() from FightingController instead … … 86 87 void setTargetOrientation(ControllableEntity* target); //<! preset a desired orientation 87 88 virtual void boostControl(); //<! boost if you can 88 void keepFormation (const ControllableEntity* leaderEntity, Vector3& targetRelativePosition); //<! preset targetPosition, so that 89 //<! this stays in a certain position relative to leader 89 void keepFormation (const ControllableEntity* leaderEntity, 90 Vector3& targetRelativePosition); //<! preset targetPosition, so that 91 //<! this stays in a certain position relative to leader 90 92 91 93 FormationMode::Value formationMode_;
Note: See TracChangeset
for help on using the changeset viewer.