Changeset 10722 in orxonox.OLD for branches/presentation/src/world_entities/weapons/disruptor.cc
- Timestamp:
- Jun 18, 2007, 10:05:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/disruptor.cc
r10719 r10722 156 156 157 157 // pj->setVelocity(this->getAbsDir().apply(Vector(1,0,0))*130 + VECTOR_RAND(1)); 158 pj->setVelocity( this->getAbsDir().apply(tmp.getNormalized())*130 + VECTOR_RAND(1));158 pj->setVelocity((tmp.getNormalized())*130 + VECTOR_RAND(1)); 159 159 160 160 pj->setAbsCoor(this->emissionPoint[this->activeBarrel]->getAbsCoor()); 161 //pj->setAbsDir(this->getAbsDir());161 pj->setAbsDir(this->getAbsDir()); 162 162 pj->activate(); 163 163 164 164 165 165 this->shootAnim[0][0]->replay(); 166 167 168 166 } 169 167
Note: See TracChangeset
for help on using the changeset viewer.