Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6253 in orxonox.OLD


Ignore:
Timestamp:
Dec 21, 2005, 4:48:53 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed the *final* pnode bug

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r6142 r6253  
    745745          /* update the current absDirection - remember * means rotation around sth.*/
    746746          this->prevRelCoordinate = this->relCoordinate;
    747           this->absDirection = this->relDirection * parent->getAbsDir();;
     747          this->absDirection = parent->getAbsDir() * this->relDirection;
    748748        }
    749749
  • trunk/src/world_entities/creatures/md2_creature.cc

    r6222 r6253  
    303303  //orient the MD2Creature in direction of the mouse
    304304  this->setAbsDir(mouseDirX);
    305   this->cameraConnNode.setAbsDirSoft(mouseDirX*mouseDirY, 10);
     305  this->cameraConnNode.setRelDir(mouseDirY);
    306306
    307307  this->getWeaponManager()->tick(time);
Note: See TracChangeset for help on using the changeset viewer.