Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 23, 2005, 1:49:25 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ParticleSystem now able to render Models

File:
1 edited

Legend:

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

    r4654 r4663  
    483483  system->setRadius(1.0, 0.0, .0);
    484484  system->setMass (0.0, 1.0);
     485  system->setModel(ResourceManager::getFullName("models/orx-rocket.obj"));
    485486
    486487  system->setColor(0, .5, 0, 0, 1);
     
    490491
    491492  // Creating a Test Particle Emitter
    492   ParticleEmitter* emitter = new ParticleEmitter(Vector(-1, 0, 0), M_PI_4, 400, .5);
     493  ParticleEmitter* emitter = new ParticleEmitter(Vector(-1, 0, 0), M_PI_4, 40, .5);
    493494  emitter->setType(EMITTER_DOT);
    494495  emitter->setSize(20);
Note: See TracChangeset for help on using the changeset viewer.