Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 25, 2006, 7:26:21 PM (18 years ago)
Author:
snellen
Message:

aim.cc works now

File:
1 edited

Legend:

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

    r6724 r6734  
    140140  controlVelocityX = 25;
    141141  controlVelocityY = 150;
    142   shipInertia = 0.5             ;
     142  shipInertia = 1.5             ;
    143143//  cycle = 0.0;
    144144
     
    317317
    318318  //orient the spaceship in direction of the mouse
    319    rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, fabsf(time)*shipInertia);
     319   rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, 0.5);//fabsf(time)*shipInertia);
    320320   if (this->getAbsDir().distance(rotQuat) > 0.00000000000001)
    321321    this->setAbsDir( rotQuat);
Note: See TracChangeset for help on using the changeset viewer.