Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5928 in orxonox.OLD for branches/spaceshipcontrol


Ignore:
Timestamp:
Dec 5, 2005, 12:01:23 AM (19 years ago)
Author:
bknecht
Message:

mouse control works fine, still need some improvements (next steps: mouse sensitivity, lock mouse in center)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc

    r5924 r5928  
    264264  if(velocity.len() != 0) velocity -= velocity*0.005;
    265265 
    266   this->shiftDir(Quaternion(-M_PI/4*xMouse*time, Vector(0,1,0))*Quaternion(-M_PI/4*yMouse*time, Vector(0,0,1)));
     266  this->shiftDir(Quaternion(-M_PI/4*xMouse*time/5, Vector(0,1,0))*Quaternion(-M_PI/4*yMouse*time/5, Vector(0,0,1)));
    267267
    268268  this->shiftCoor (move);
Note: See TracChangeset for help on using the changeset viewer.