Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9038 in orxonox.OLD


Ignore:
Timestamp:
Jul 3, 2006, 3:16:01 PM (18 years ago)
Author:
patrick
Message:

some of the npc walk on the ground

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/npcs/generic_npc.cc

    r9037 r9038  
    200200        dir.y = this->getAbsCoor().y;
    201201        dir.getNormalized();
    202         this->setAbsDir(Quaternion(dir, Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0)));
     202        this->setAbsDir(Quaternion(dir, Vector(0.0, 1.0, 0.0)) /** Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0))*/);
    203203
    204204        this->setAnimationSpeed(0.5f);
     
    479479          else
    480480          {
    481             //dest.y = 0.0f;
    482481            Vector move = dest.getNormalized() * currentAnimation.speed * dt;
    483482            this->shiftCoor(move);
Note: See TracChangeset for help on using the changeset viewer.