Changeset 8961 in orxonox.OLD
- Timestamp:
- Jun 30, 2006, 3:17:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r8959 r8961 412 412 { 413 413 this->shiftCoor(dest.getNormalized() * currentAnimation.speed * dt); 414 this->setAbsDir(Quaternion(dest.getNormalized(), Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0))); 414 415 } 415 416 } … … 424 425 { 425 426 this->shiftCoor(dest.getNormalized() * currentAnimation.speed * dt); 427 this->setAbsDir(Quaternion(dest.getNormalized(), Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0))); 426 428 } 427 429 } … … 436 438 { 437 439 this->shiftCoor(dest.getNormalized() * currentAnimation.speed * dt); 440 this->setAbsDir(Quaternion(dest.getNormalized(), Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0))); 438 441 } 439 442 }
Note: See TracChangeset
for help on using the changeset viewer.