Changeset 6614 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/weapons/aiming_turret.cc
- Timestamp:
- Jan 19, 2006, 8:01:08 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/weapons/aiming_turret.cc
r6606 r6614 98 98 this->target = new Aim(this); 99 99 this->target->setVisibility(false); 100 this->target->setRange(100); 101 this->target->setAngle(M_PI); 100 102 } 101 103 … … 130 132 this->setAbsDirSoft(quat, 5); 131 133 132 this->target-> searchTarget(100,M_PI_2);134 this->target->tick(dt); 133 135 } 134 136 … … 146 148 pj->setAbsDir(this->getAbsDir()); 147 149 pj->activate(); 148 this->target->searchTarget( 100,M_PI_2);150 this->target->searchTarget(); 149 151 } 150 152
Note: See TracChangeset
for help on using the changeset viewer.