Changeset 5458 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Oct 30, 2005, 1:52:29 AM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/laser.cc
r5457 r5458 46 46 this->energyMax = 10; 47 47 this->remove(); 48 this->lifeSpan = 2;48 this->lifeSpan = 1.0; 49 49 50 50 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5); -
trunk/src/world_entities/weapons/test_gun.cc
r5457 r5458 129 129 this->setMaximumEnergy(1000, 100); 130 130 this->increaseEnergy(1000); 131 this->setEmissionPoint(0,-100,0);132 131 //this->minCharge = 2; 133 132 … … 186 185 pj->setParent(NullParent::getInstance()); 187 186 188 pj->setVelocity(this->getVelocity() + this->getAbsDir().apply(Vector(1,0,0))* 20);187 pj->setVelocity(this->getVelocity() + this->getAbsDir().apply(Vector(1,0,0))*50); 189 188 190 189 pj->setAbsCoor(this->getEmissionPoint());
Note: See TracChangeset
for help on using the changeset viewer.