Changeset 6723 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/weapons/targeting_turret.cc
- Timestamp:
- Jan 25, 2006, 5:25:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/weapons/targeting_turret.cc
r6671 r6723 93 93 this->target->setVisibility(false); 94 94 this->target->setRange(100); 95 this->target->setAngle(M_PI_4/ 2);95 this->target->setAngle(M_PI_4/16); 96 96 this->lockedTime = 0; 97 97 this->neededLockTime = 2; … … 147 147 /*target->getAbsCoor() - this->getAbsCoor()*/)*.5);//this->getVelocity()); 148 148 149 pj->setTarget( this->target->getParent());149 pj->setTarget(lockedTarget); 150 150 pj->setParent(PNode::getNullParent()); 151 151 pj->setAbsCoor(this->getEmissionPoint()); 152 152 pj->setAbsDir(this->getAbsDir()); 153 153 pj->activate(); 154 this->target->searchTarget();154 155 155 } 156 156
Note: See TracChangeset
for help on using the changeset viewer.