Changeset 4720 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Jun 27, 2005, 2:53:06 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4716 r4720 468 468 glNewList (objectList, GL_COMPILE); 469 469 470 trackManager->drawGraph(.01);470 //trackManager->drawGraph(.01); 471 471 //trackManager->debug(2); 472 472 glEndList(); … … 503 503 504 504 505 ParticleSystem* vulcanSysStone = new ParticleSystem(1000, PARTICLE_SPRITE); 506 vulcanSysStone->setModel("models/vulcanic_stone.obj"); 507 vulcanSysStone->setLifeSpan(6); 508 vulcanSysStone->setRadius(0.0, 5.0, 3.0); 509 vulcanSysStone->setMass (0.0, .1); 510 511 ParticleEmitter* vulcanEmitStone = new ParticleEmitter(Vector(0,1,0), .5, 10, 200); 512 vulcanEmitStone->setEmissionVelocity(700, 400); 513 vulcanEmitStone->setType(EMITTER_CUBE); 514 vulcanEmitStone->setSize(40); 515 vulcanEmitStone->setRelCoor(2460,105, 606); 516 517 ParticleEngine::getInstance()->addConnection(vulcanEmitStone, vulcanSysStone); 518 new PhysicsConnection(vulcanSysStone, gravity); 519 505 520 // SYSTEM OF THE VULCANO 506 521 ParticleSystem* vulcanSysSpark = new ParticleSystem(10000, PARTICLE_SPARK); … … 522 537 new PhysicsConnection(vulcanSysSpark, gravity); 523 538 524 525 526 ParticleSystem* vulcanSysStone = new ParticleSystem(1000, PARTICLE_SPRITE);527 vulcanSysStone->setModel("models/vulcanic_stone.obj");528 vulcanSysStone->setLifeSpan(6);529 vulcanSysStone->setRadius(0.0, 10.0, 8);530 vulcanSysStone->setMass (0.0, .1);531 532 ParticleEmitter* vulcanEmitStone = new ParticleEmitter(Vector(0,1,0), .5, 10, 200);533 vulcanEmitStone->setEmissionVelocity(700, 400);534 vulcanEmitStone->setType(EMITTER_CUBE);535 vulcanEmitStone->setSize(40);536 vulcanEmitStone->setRelCoor(2460,105, 606);537 538 ParticleEngine::getInstance()->addConnection(vulcanEmitStone, vulcanSysStone);539 new PhysicsConnection(vulcanSysStone, gravity);540 539 541 540
Note: See TracChangeset
for help on using the changeset viewer.