Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4431 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Jun 1, 2005, 10:30:13 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: particles: color is animatable too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4430 r4431  
    474474  // Creating a Test Particle System
    475475  ParticleSystem* system = new ParticleSystem(100000, PARTICLE_SPRITE);
    476   system->setLifeSpan(1);
     476  system->setLifeSpan(.5);
    477477  system->setConserve(.8);
    478478  system->setRadius(0.0, 1.0, .6);
     479  system->setRadius(.2, 3, .2);
    479480  system->setRadius(1.0, 0.0, .0);
    480 
    481   system->setColor(.5,0,0,.5, 1,1,0,1, 0,0,0,0);
     481  system->setMass (0.0, 1.0);
     482
     483  system->setColor(0, .5,0,0,.5);
     484  system->setColor(.5, 1,1,0,1);
     485  system->setColor(1.0, 0,0,0,0);
    482486
    483487  // Creating a Test Particle Emitter
Note: See TracChangeset for help on using the changeset viewer.