Changeset 11906
- Timestamp:
- Apr 26, 2018, 2:45:47 PM (7 years ago)
- Location:
- code/branches/ScriptableController_FS18/src/orxonox/worldentities/pawns
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController_FS18/src/orxonox/worldentities/pawns/CMakeLists.txt
r11783 r11906 4 4 Pawn.cc 5 5 SpaceShip.cc 6 AAAAutonomousDrone.cc 6 7 ModularSpaceShip.cc 7 8 TeamBaseMatchBase.cc -
code/branches/ScriptableController_FS18/src/orxonox/worldentities/pawns/SpaceShip.cc
r11083 r11906 163 163 engine->run(dt); 164 164 165 if (this->hasLocalController() )165 if (this->hasLocalController() || true) 166 166 { 167 167 // If not in mouse look apply the angular movement to the ship. -
code/branches/ScriptableController_FS18/src/orxonox/worldentities/pawns/SpaceShip.h
r11052 r11906 117 117 { this->steering_.y += value.x; } 118 118 119 inline void moveFrontBack(float value) 120 { this->moveFrontBack(Vector2(value, 0)); } 121 inline void moveRightLeft(float value) 122 { this->moveRightLeft(Vector2(value, 0)); } 123 inline void moveUpDown(float value) 124 { this->moveUpDown(Vector2(value, 0)); } 125 119 126 virtual void rotateYaw(const Vector2& value); // Rotate in yaw direction. 120 127 virtual void rotatePitch(const Vector2& value); // Rotate in pitch direction.
Note: See TracChangeset
for help on using the changeset viewer.