Changeset 4175 in orxonox.OLD for orxonox/branches/particleEngine
- Timestamp:
- May 13, 2005, 11:03:30 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/story_entities/world.cc
r4174 r4175 493 493 494 494 495 ParticleSystem* system = new ParticleSystem(1000, PARTICLE_SP ARK);495 ParticleSystem* system = new ParticleSystem(1000, PARTICLE_SPRITE); 496 496 system->setLifeSpan(.5); 497 497 system->setConserve(.99); 498 498 system->setRadius(2, 0, 2, 0); 499 499 500 ParticleEmitter* emitter = new ParticleEmitter(Vector(-1, 0, 0), M_PI_4, 100 0, .05);500 ParticleEmitter* emitter = new ParticleEmitter(Vector(-1, 0, 0), M_PI_4, 100, .05); 501 501 emitter->setParent(this->localPlayer); 502 502
Note: See TracChangeset
for help on using the changeset viewer.