Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2005, 3:30:45 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: spread works, and many other functions implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/story_entities/world.cc

    r3934 r3935  
    377377            this->glmis->step();
    378378           
    379             testEmitter = new ParticleEmitter(Vector(1,0,0), 0.0, 124.0, .1);
     379            testEmitter = new ParticleEmitter(Vector(-1,0,0), .1, 12400.0, 1);
    380380            testEmitter->setParent(localPlayer);
     381            testEmitter->setSpread(.5, .1);
    381382            testSystem = new ParticleSystem(100000);
     383            testSystem->setLifeSpan(3);
     384            testSystem->setConserve(.8);
    382385
    383386            ParticleEngine::getInstance()->addConnection(testEmitter, testSystem);
Note: See TracChangeset for help on using the changeset viewer.