- Timestamp:
- Nov 11, 2009, 5:39:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/steering/src/orxonox/controllers/Controller.cc
r5781 r6045 29 29 #include "Controller.h" 30 30 #include "core/CoreIncludes.h" 31 #include "worldentities/ControllableEntity.h" 31 32 32 33 namespace orxonox … … 45 46 { 46 47 } 48 49 Vector3 Controller::getTarget() { 50 return this->controllableEntity_->getPosition() + (this->controllableEntity_->getOrientation() * Vector3::UNIT_Z); 51 } 47 52 }
Note: See TracChangeset
for help on using the changeset viewer.