Changeset 6463 in orxonox.OLD for branches/network/src/world_entities
- Timestamp:
- Jan 10, 2006, 1:56:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/space_ships/space_ship.cc
r6426 r6463 211 211 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 212 212 this->attachCamera(); 213 214 215 213 } 216 214 … … 315 313 316 314 //readjust 317 315 318 316 /* 319 317 In the game "Yager" the spaceship gets readjusted when the player moves the mouse. 320 318 I (bknecht) go and check it out how they do it, we could probably use this also in Orxonox. 321 319 */ 322 //if (xMouse != 0 && yMouse != 0) 323 320 //if (xMouse != 0 && yMouse != 0) 321 324 322 //if (this->getAbsDirZ().y > 0.1) this->shiftDir(Quaternion(time*0.3, Vector(1,0,0))); 325 323 //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.