Changeset 10260 in orxonox.OLD for branches/playability/src/world_entities/weapons
- Timestamp:
- Jan 17, 2007, 4:00:23 PM (18 years ago)
- Location:
- branches/playability/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/heavy_blaster.cc
r10188 r10260 47 47 } 48 48 49 this->deconstr();49 // this->deconstr(); 50 50 // model will be deleted from WorldEntity-destructor 51 51 } -
branches/playability/src/world_entities/weapons/spike_thrower.cc
r10256 r10260 156 156 pj->setParent(PNode::getNullParent()); 157 157 158 pj->setVelocity(this->getAbsDir().apply(Vector(1,0,0))*150); 158 // pj->setVelocity(this->getParent()->getAbsDir().apply(Vector(1,0,0))*200 + this->getParent()->getParent()->getVelocity()); 159 pj->setVelocity(this->getParent()->getVelocity() + this->getAbsDir().apply(Vector(1,0,0))*160); 160 159 161 pj->setAbsCoor(this->getEmissionPoint()); 160 pj->toList(this->getOMListNumber());161 162 162 pj->setAbsDir(this->getAbsDir()); 163 163 pj->activate();
Note: See TracChangeset
for help on using the changeset viewer.