Changeset 6722 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/weapons
- Timestamp:
- Jan 25, 2006, 5:24:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/weapons/turret.cc
r6671 r6722 116 116 void Turret::tick(float dt) 117 117 { 118 /* 118 119 119 Quaternion quat; 120 Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor(); 120 Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor();*/ 121 121 122 122 direction.normalize(); … … 127 127 quat = Quaternion(direction, Vector(0,1,0)) * Quaternion ( -M_PI_2, Vector(0,1,0)) ; 128 128 129 this->setAbsDirSoft(quat, 5); */129 this->setAbsDirSoft(quat, 5); 130 130 } 131 131
Note: See TracChangeset
for help on using the changeset viewer.