Changeset 6505 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/space_ships/helicopter.cc
- Timestamp:
- Jan 12, 2006, 9:04:23 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/helicopter.cc
r6497 r6505 410 410 } 411 411 412 velocity += accel ;413 if((this->getAbsDirX()).y <= 0. 2 && (this->getAbsDirX()).y >= -0.2) this->shiftDir(Quaternion(rotValZ, Vector(0,0,1)));414 if((this->getAbsDirZ()).y <= 0. 2 && (this->getAbsDirZ()).y >= -0.2) this->shiftDir(Quaternion(rotValX, Vector(1,0,0)));412 velocity += accel*3; 413 if((this->getAbsDirX()).y <= 0.3 && (this->getAbsDirX()).y >= -0.3) this->shiftDir(Quaternion(rotValZ, Vector(0,0,1))); 414 if((this->getAbsDirZ()).y <= 0.3 && (this->getAbsDirZ()).y >= -0.3) this->shiftDir(Quaternion(rotValX, Vector(1,0,0))); 415 415 } 416 416
Note: See TracChangeset
for help on using the changeset viewer.