Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2006, 10:27:13 AM (18 years ago)
Author:
bknecht
Message:

Control: finetuning and corrections of helicopter and spaceship

File:
1 edited

Legend:

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

    r6255 r6391  
    299299
    300300  //readjust
    301  // if (this->getAbsDirZ().y > 0.1) this->shiftDir(Quaternion(time*0.3, Vector(1,0,0)));
     301 
     302  /*
     303    In the game "Yager" the spaceship gets readjusted when the player moves the mouse.
     304    I (bknecht) go and check it out how they do it, we could probably use this also in Orxonox.
     305  */
     306  //if (xMouse != 0 && yMouse != 0)
     307 
     308  //if (this->getAbsDirZ().y > 0.1) this->shiftDir(Quaternion(time*0.3, Vector(1,0,0)));
    302309  //else if (this->getAbsDirZ().y < -0.1) this->shiftDir(Quaternion(-time*0.3, Vector(1,0,0)));
    303310
Note: See TracChangeset for help on using the changeset viewer.