Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6463 in orxonox.OLD for branches/network/src/world_entities


Ignore:
Timestamp:
Jan 10, 2006, 1:56:38 PM (19 years ago)
Author:
patrick
Message:

network: implemented a better debug function

File:
1 edited

Legend:

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

    r6426 r6463  
    211211  dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true);
    212212  this->attachCamera();
    213 
    214 
    215213}
    216214
     
    315313
    316314  //readjust
    317  
     315
    318316  /*
    319317    In the game "Yager" the spaceship gets readjusted when the player moves the mouse.
    320318    I (bknecht) go and check it out how they do it, we could probably use this also in Orxonox.
    321319  */
    322   //if (xMouse != 0 && yMouse != 0) 
    323  
     320  //if (xMouse != 0 && yMouse != 0)
     321
    324322  //if (this->getAbsDirZ().y > 0.1) this->shiftDir(Quaternion(time*0.3, Vector(1,0,0)));
    325323  //else if (this->getAbsDirZ().y < -0.1) this->shiftDir(Quaternion(-time*0.3, Vector(1,0,0)));
Note: See TracChangeset for help on using the changeset viewer.