Changeset 6391 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
- Timestamp:
- Jan 3, 2006, 10:27:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r6255 r6391 299 299 300 300 //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))); 302 309 //else if (this->getAbsDirZ().y < -0.1) this->shiftDir(Quaternion(-time*0.3, Vector(1,0,0))); 303 310
Note: See TracChangeset
for help on using the changeset viewer.