Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6210 in orxonox.OLD


Ignore:
Timestamp:
Dec 21, 2005, 3:02:02 AM (18 years ago)
Author:
patrick
Message:

christmas: world setup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/christmas_branche/src/world_entities/creatures/md2_creature.cc

    r6209 r6210  
    115115
    116116  EventHandler::getInstance()->grabEvents(true);
     117
     118  this->mouseDirX *= Quaternion( M_PI * 0.75f, Vector(0,1,0));
    117119
    118120  bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = bStrafeL = bStrafeR = bJump = false;
     
    284286
    285287  //orient the MD2Creature in direction of the mouse
    286   this->setAbsDir( /*rotQuat*/ mouseDirX);
     288  this->setAbsDir(mouseDirX);
    287289  this->cameraConnNode.setAbsDirSoft(mouseDirX*mouseDirY, 10);
    288290
Note: See TracChangeset for help on using the changeset viewer.