Changeset 6565 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Jan 18, 2006, 3:06:19 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/turret.cc
r6561 r6565 115 115 void Turret::tick(float dt) 116 116 { 117 /* 117 118 Quaternion quat; 118 Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor(); */119 Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor(); 119 120 120 121 direction.normalize(); … … 125 126 quat = Quaternion(direction, Vector(0,1,0)) * Quaternion ( -M_PI_2, Vector(0,1,0)) ; 126 127 127 this->setAbsDirSoft(quat, 5); 128 this->setAbsDirSoft(quat, 5);*/ 128 129 } 129 130
Note: See TracChangeset
for help on using the changeset viewer.