Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6760 in orxonox.OLD for trunk/src/world_entities/space_ships


Ignore:
Timestamp:
Jan 26, 2006, 2:44:57 AM (19 years ago)
Author:
bensch
Message:

merged the SpaceShipControl branche back here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/space_ship.cc

    r6759 r6760  
    143143  controlVelocityX = 25;
    144144  controlVelocityY = 150;
    145   shipInertia = 0.5             ;
     145  shipInertia = 1.5             ;
    146146//  cycle = 0.0;
    147147
     
    340340
    341341  //orient the spaceship in direction of the mouse
    342    rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, fabsf(time)*shipInertia);
     342   rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, 0.5);//fabsf(time)*shipInertia);
    343343   if (this->getAbsDir().distance(rotQuat) > 0.00000000000001)
    344344    this->setAbsDir( rotQuat);
Note: See TracChangeset for help on using the changeset viewer.