Changeset 9043 in orxonox.OLD for branches/single_player_map
- Timestamp:
- Jul 3, 2006, 3:45:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r9042 r9043 286 286 287 287 Vector dir = (currentAnimation.v - this->getAbsCoor()).getNormalized(); 288 dir.y = 0.0f; 289 dir.getNormalized(); 288 290 this->setAbsDirSoft(Quaternion(dir, Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0)), 4.0); 289 291 … … 297 299 298 300 Vector dir = (currentAnimation.v - this->getAbsCoor()).getNormalized(); 301 dir.y = 0.0f; 302 dir.getNormalized(); 299 303 this->setAbsDirSoft(Quaternion(dir, Vector(0.0, 1.0, 0.0)) * Quaternion(-M_PI_2, Vector(0.0, 1.0, 0.0)), 4.0); 300 304
Note: See TracChangeset
for help on using the changeset viewer.