Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 23, 2008, 12:15:09 AM (16 years ago)
Author:
rgrieder
Message:
  • Fixed issue with relative mouse movements.
  • Fixed bug when parsing commands in keybindings.ini
  • Fixed potential framerate dependency with relative movements
  • Simplified the use of a configured input command
  • Changed how parametrised input is handled (superposition and [-1,1]-clamp instead of average).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/pawns/Spectator.cc

    r1994 r2001  
    6666        this->setVelocity(velocity * this->speed_);
    6767
    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_));
    7172
    7273        this->yaw_ = this->pitch_ = this->roll_ = 0;
Note: See TracChangeset for help on using the changeset viewer.