Changeset 9120 in orxonox.OLD for branches/presentation/src/world_entities
- Timestamp:
- Jul 4, 2006, 1:38:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc
r9110 r9120 425 425 this->velocity += (accelerationDir - damping)* dt; 426 426 this->shiftCoor (this->velocity * dt); 427 this->setRelDirSoft(Quaternion(0, Vector(0,0,0)) , 1.0f);427 this->setRelDirSoft(Quaternion(0, Vector(0,0,0)) * Quaternion(this->velocity.z * .01, Vector(1,0,0)), 2.0f); 428 428 } 429 429 break;
Note: See TracChangeset
for help on using the changeset viewer.