- Timestamp:
- Dec 11, 2017, 5:39:48 PM (7 years ago)
- Location:
- code/branches/CampaignMap_HS17/src/orxonox/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/CampaignMap_HS17/src/orxonox/worldentities/pawns/StoryModePawn.cc
r11634 r11663 53 53 void StoryModePawn::moveFrontBack(const Vector2& value) 54 54 { 55 //this->getCamera()->setOrientation(Vector3::UNIT_X, Degree(-30)); 55 56 Vector3 newPos = this->getCamera()->getPosition(); 56 newPos. y +=value.x;57 newPos.z -= 5*value.x; 57 58 this->getCamera()->setPosition(newPos); 58 59 } … … 61 62 { 62 63 Vector3 newPos = this->getCamera()->getPosition(); 63 newPos.x += value.x;64 newPos.x += 5*value.x; 64 65 this->getCamera()->setPosition(newPos); 65 66 } -
code/branches/CampaignMap_HS17/src/orxonox/worldentities/pawns/StoryModePawn.h
r11634 r11663 21 21 * 22 22 * Author: 23 * C yrill Burgener23 * Claudio Fanconi & Nikola Bolt 24 24 * 25 25 */
Note: See TracChangeset
for help on using the changeset viewer.