Changeset 9617 in orxonox.OLD for branches/proxy/src/world_entities
- Timestamp:
- Jul 30, 2006, 1:05:44 PM (18 years ago)
- Location:
- branches/proxy/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/weapons/aim.cc
r9612 r9617 119 119 printf("found target::: %d %s::%s\n", (*entity)->getOMListNumber(), (*entity)->getClassCName(), (*entity)->getCName()); 120 120 this->anim->replay(); 121 this->setParent /*Soft*/(*entity/*, 5 */);121 this->setParentSoft(*entity, 5); 122 122 return; 123 123 } -
branches/proxy/src/world_entities/weapons/aiming_turret.cc
r9615 r9617 144 144 return; 145 145 146 pj->setVelocity(/*this->getVelocity()+*/(this->getAbsDir().apply(Vector(1,0,0))*250.0 + VECTOR_RAND( 13)146 pj->setVelocity(/*this->getVelocity()+*/(this->getAbsDir().apply(Vector(1,0,0))*250.0 + VECTOR_RAND(4) 147 147 /*target.getAbsCoor() - this->getAbsCoor()*/)*.5);//this->getVelocity()); 148 148
Note: See TracChangeset
for help on using the changeset viewer.