Changeset 9095 in orxonox.OLD for branches/presentation/src/world_entities
- Timestamp:
- Jul 4, 2006, 3:11:27 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/generic_npc.cc
r9087 r9095 222 222 Vector dir = (currentAnimation.v - this->getAbsCoor()); 223 223 dir.y = 0.0f; 224 dir. getNormalized();224 dir.normalize(); 225 225 this->setAbsDir(Quaternion(dir, Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0))); 226 226
Note: See TracChangeset
for help on using the changeset viewer.