Changeset 6551 in orxonox.OLD for branches/spaceshipcontrol
- Timestamp:
- Jan 18, 2006, 2:19:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r6544 r6551 373 373 if( this->bRollL /* > -this->getRelCoor().z*2*/) 374 374 { 375 mouseDir *= Quaternion(-time , Vector(1,0,0));375 mouseDir *= Quaternion(-time*2, Vector(1,0,0)); 376 376 // accel -= rightDirection; 377 377 //velocityDir.normalize(); … … 381 381 if( this->bRollR /* > this->getRelCoor().z*2*/) 382 382 { 383 mouseDir *= Quaternion(time , Vector(1,0,0));383 mouseDir *= Quaternion(time*2, Vector(1,0,0)); 384 384 385 385 // accel += rightDirection; … … 458 458 else if (yMouse < -controlVelocityY) yMouse = -controlVelocityY; 459 459 460 //pitchDir *= (Quaternion(xMouse*mouseSensitivity*0.01, Vector(1,0,0)));460 pitchDir = (Quaternion(xMouse*mouseSensitivity*0.5, Vector(1,0,0))); 461 461 462 462 mouseDir *= (Quaternion(-M_PI/4*xMouse*mouseSensitivity, Vector(0,1,0))*Quaternion(-M_PI/4*yMouse*mouseSensitivity, Vector(0,0,1))*pitchDir);
Note: See TracChangeset
for help on using the changeset viewer.