Changeset 3039 for code/trunk/src/orxonox/objects/worldentities
- Timestamp:
- May 24, 2009, 6:09:23 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/objects/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/worldentities/pawns/SpaceShip.cc
r2809 r3039 160 160 void SpaceShip::rotateYaw(const Vector2& value) 161 161 { 162 this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() -value.x);162 this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() + value.x); 163 163 164 164 Pawn::rotateYaw(value); -
code/trunk/src/orxonox/objects/worldentities/pawns/Spectator.cc
r3034 r3039 177 177 void Spectator::rotateYaw(const Vector2& value) 178 178 { 179 this->yaw_ -= value.y;179 this->yaw_ += value.y; 180 180 181 181 ControllableEntity::rotateYaw(value);
Note: See TracChangeset
for help on using the changeset viewer.