- Timestamp:
- Dec 10, 2008, 1:38:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/pawns/Spectator.cc
r2297 r2374 108 108 Vector3 velocity = this->getVelocity(); 109 109 velocity.normalise(); 110 this->setVelocity( velocity * this->speed_);110 this->setVelocity(this->getOrientation() * velocity * this->speed_); 111 111 112 112 this->yaw(Radian(this->yaw_ * this->rotationSpeed_));
Note: See TracChangeset
for help on using the changeset viewer.