Changeset 9235 in orxonox.OLD for trunk/src/world_entities/effects
- Timestamp:
- Jul 5, 2006, 4:39:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/effects/explosion.cc
r7120 r9235 40 40 this->toList(OM_DEAD_TICK); 41 41 42 this->emitter = new BoxEmitter(Vector(10,10,10), 500, 45, M_2_PI);42 this->emitter = new BoxEmitter(Vector(10,10,10), 200, 45, M_2_PI); 43 43 this->emitter->addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT); 44 44 this->emitter->setParent(this); … … 83 83 Explosion::explosionParticles->setLifeSpan(1.5, .3); 84 84 Explosion::explosionParticles->setRadius(0.0, 10); 85 Explosion::explosionParticles->setRadius(.5, 15.0);85 Explosion::explosionParticles->setRadius(.5, 30.0); 86 86 Explosion::explosionParticles->setRadius(1.0, 10.0); 87 87 Explosion::explosionParticles->setColor(0.0, 1,0,0,1); … … 113 113 void Explosion::tick (float dt) 114 114 { 115 printf("%f %f\n", this->lifeCycle, this->lifeTime);116 115 this->lifeCycle += dt; 117 116 if(this->lifeTime < this->lifeCycle)
Note: See TracChangeset
for help on using the changeset viewer.