Changeset 6203 in orxonox.OLD for branches/christmas_branche/src/world_entities
- Timestamp:
- Dec 21, 2005, 12:25:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/creatures/md2_creature.cc
r6200 r6203 260 260 if( this->bJump) 261 261 { 262 /*if( ((MD2Model*)this->getModel(0))->getAnim() != JUMP)*/((MD2Model*)this->getModel(0))->setAnim(JUMP);262 ((MD2Model*)this->getModel(0))->setAnim(JUMP); 263 263 } 264 264 else if( fabs(move.len()) > 0.0f) … … 296 296 if( this->bUp ) 297 297 { 298 298 accel += (this->getAbsDirX())*2; 299 299 } 300 300 … … 372 372 { 373 373 this->xMouse = event.xRel; 374 mouseDir *= (Quaternion(-M_PI/4*xMouse*mouseSensitivity, Vector(0,1,0))); 374 this->yMouse = event.yRel; 375 mouseDir *= (Quaternion(-M_PI/4*xMouse*mouseSensitivity, Vector(0,1,0))*Quaternion(-M_PI/4*yMouse*mouseSensitivity, Vector(0,0,1))); 375 376 // if( xMouse*xMouse < 0.9) 376 377 // this->setAbsDir(mouseDir);
Note: See TracChangeset
for help on using the changeset viewer.