Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2005, 7:23:37 PM (19 years ago)
Author:
snellen
Message:

disconnectControllable() in player.cc implemented

File:
1 edited

Legend:

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

    r5900 r5901  
    256256  Vector move = (velocity)*time;
    257257
    258   if( velocity.len() != 0 )
     258  /*if( velocity.len() != 0 )
    259259   {
    260260     this->setAbsDir(Quaternion(velocity, Vector(0,1,0)) * Quaternion ( -M_PI_2, Vector(0,1,0)));
    261261   }
    262 
     262  */
    263263  this->shiftCoor (move);
    264264
     
    289289    if(velocity.len() == 0)
    290290      accel += ((this->getAbsDir()).getSpacialAxis().getNormalized());
    291     else
    292       travelSpeed++;
     291    //else
     292      //travelSpeed++;
    293293   }
    294294
     
    297297    if(velocity.len() == 0)
    298298      accel -= ((this->getAbsDir()).getSpacialAxis().getNormalized());
    299     else
    300     travelSpeed--;
     299   // else
     300     //travelSpeed--;
    301301   }
    302302
Note: See TracChangeset for help on using the changeset viewer.