Changeset 6210 in orxonox.OLD for branches/christmas_branche/src/world_entities/creatures
- Timestamp:
- Dec 21, 2005, 3:02:02 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/creatures/md2_creature.cc
r6209 r6210 115 115 116 116 EventHandler::getInstance()->grabEvents(true); 117 118 this->mouseDirX *= Quaternion( M_PI * 0.75f, Vector(0,1,0)); 117 119 118 120 bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = bStrafeL = bStrafeR = bJump = false; … … 284 286 285 287 //orient the MD2Creature in direction of the mouse 286 this->setAbsDir( /*rotQuat*/mouseDirX);288 this->setAbsDir(mouseDirX); 287 289 this->cameraConnNode.setAbsDirSoft(mouseDirX*mouseDirY, 10); 288 290
Note: See TracChangeset
for help on using the changeset viewer.