Changeset 9038 in orxonox.OLD for branches/single_player_map
- Timestamp:
- Jul 3, 2006, 3:16:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r9037 r9038 200 200 dir.y = this->getAbsCoor().y; 201 201 dir.getNormalized(); 202 this->setAbsDir(Quaternion(dir, Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0)));202 this->setAbsDir(Quaternion(dir, Vector(0.0, 1.0, 0.0)) /** Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0))*/); 203 203 204 204 this->setAnimationSpeed(0.5f); … … 479 479 else 480 480 { 481 //dest.y = 0.0f;482 481 Vector move = dest.getNormalized() * currentAnimation.speed * dt; 483 482 this->shiftCoor(move);
Note: See TracChangeset
for help on using the changeset viewer.