- Timestamp:
- Oct 23, 2008, 12:15:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/pawns/Spectator.cc
r1994 r2001 66 66 this->setVelocity(velocity * this->speed_); 67 67 68 this->yaw(Radian(this->yaw_ * dt * this->rotationSpeed_)); 69 this->pitch(Radian(this->pitch_ * dt * this->rotationSpeed_)); 70 this->roll(Radian(this->roll_ * dt * this->rotationSpeed_)); 68 // TODO: Check why I have removed *dt (1337) 69 this->yaw(Radian(this->yaw_ * this->rotationSpeed_)); 70 this->pitch(Radian(this->pitch_ * this->rotationSpeed_)); 71 this->roll(Radian(this->roll_ * this->rotationSpeed_)); 71 72 72 73 this->yaw_ = this->pitch_ = this->roll_ = 0;
Note: See TracChangeset
for help on using the changeset viewer.