- Timestamp:
- Nov 27, 2015, 7:58:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/ActionpointController.cc
r10877 r10879 82 82 } 83 83 if (this->bFirstTick_) 84 { 85 // this->getControllableEntity()->setOrientation(1,0,0,0); 86 // this->getControllableEntity()->rotateRoll(-this->getControllableEntity()->getOrientation().getRoll(true).valueRadians()); 87 // this->getControllableEntity()->rotateYaw(-this->getControllableEntity()->getOrientation().getYaw(true).valueRadians()); 88 // this->getControllableEntity()->rotatePitch(-this->getControllableEntity()->getOrientation().getPitch(true).valueRadians()); 84 89 this->bFirstTick_ = false; 90 91 } 85 92 SUPER(ActionpointController, tick, dt); 86 93 } … … 358 365 (this->getProtect()->getWorldOrientation()* (*targetRelativePosition))); 359 366 this->setTargetPosition(targetAbsolutePosition); 367 this->setTargetOrientation(this->getProtect()->getWorldOrientation()); 360 368 } 361 369 void ActionpointController::nextActionpoint()
Note: See TracChangeset
for help on using the changeset viewer.