Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7141 in orxonox.OLD


Ignore:
Timestamp:
Feb 14, 2006, 6:04:12 PM (19 years ago)
Author:
snellen
Message:

changed some parameters of the spaceship control

File:
1 edited

Legend:

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

    r7138 r7141  
    147147  airViscosity = 0.8;
    148148  controlVelocityX = 25;
    149   controlVelocityY = 150;
    150   shipInertia = M_PI_4;
     149  controlVelocityY = 100;
     150  shipInertia = M_PI_2;
    151151  maxRudderAmplitude = 0.6 ;
    152152//  cycle = 0.0;
     
    352352
    353353    if( fabsf(mouseDir.distance(this->getAbsDir())) < maxRudderAmplitude )//prevent 'jumping'
    354     mouseDir *= (Quaternion(-M_PI/4*xMouse*mouseSensitivity, Vector(0,1,0))*Quaternion(-M_PI/4*yMouse*mouseSensitivity*yInvert, Vector(0,0,1))*pitchDir);
    355 
     354    {
     355     
     356     mouseDir *= (Quaternion(-M_PI/4*xMouse*mouseSensitivity, Vector(0,1,0))*Quaternion(-M_PI/4*yMouse*mouseSensitivity*yInvert, Vector(0,0,1))*pitchDir);
     357    }
    356358    xMouse = yMouse = 0;
    357359   }
Note: See TracChangeset for help on using the changeset viewer.