- Timestamp:
- Nov 9, 2015, 4:38:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI_HS15/src/orxonox/controllers/CommonController.h
r10782 r10789 76 76 } 77 77 78 78 79 class _OrxonoxExport CommonController : public Controller 79 80 { … … 121 122 protected: 122 123 123 void moveToPosition(const Vector3& target); 124 void moveToTargetPosition(); 124 void moveToPoint(const Vector3& relativeTargetPosition, float angleRoll); 125 bool moveAndRoll(float dt); 126 127 void moveToPosition(const Vector3& target, float dt); 128 void moveToTargetPosition(float dt); 125 129 //enum Mode {ROCKET, ATTACK, MOVE, HOLD};//TODO; implement DEFENCE, MOVING modes 126 130 127 131 //Mode mode_; 128 void copyOrientation(const Quaternion& orient );129 void copyTargetOrientation( );132 void copyOrientation(const Quaternion& orient, float dt); 133 void copyTargetOrientation(float dt); 130 134 131 135 float squaredDistanceToTarget() const; … … 160 164 WeakPtr<ControllableEntity> objectiveTarget_; 161 165 162 float angleRolled_;163 float angleRoll_;164 166 165 167 … … 169 171 Maneuver::Value maneuver_; 170 172 171 ClassTreeMask targetMask_;172 173 bool executingManeuver_; 174 bool executingMoveToPoint_; 173 175 174 176 private:
Note: See TracChangeset
for help on using the changeset viewer.