Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9120 in orxonox.OLD for branches/presentation


Ignore:
Timestamp:
Jul 4, 2006, 1:38:38 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: spaceship-movement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc

    r9110 r9120  
    425425        this->velocity += (accelerationDir - damping)* dt;
    426426        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);
    428428      }
    429429      break;
Note: See TracChangeset for help on using the changeset viewer.