Changeset 10098 in orxonox.OLD for branches/playability/src/world_entities/particles/emitter_node.cc
- Timestamp:
- Dec 19, 2006, 4:08:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/particles/emitter_node.cc
r10078 r10098 73 73 74 74 this->lifeCycle += dt/this->lifeSpan; 75 if ( unlikely(this->lifeCycle >= 1))75 if (this->lifeCycle >= 1) 76 76 { 77 77 this->removeNode(); 78 this->hide(); 79 this->system->removeEmitter(this->emitter); 80 this->emitter->stop(); 81 this->emitter->setSystem(NULL); 82 this->started = false; 78 83 } 79 84 PRINTF(0)("Coordinate Update EmitterNode: (%f,%f,%f) -> (%f,%f,%f)\n",this->getAbsCoor().x,this->getAbsCoor().y,this->getAbsCoor().z,this->velocity.x,this->velocity.y,this->velocity.z);
Note: See TracChangeset
for help on using the changeset viewer.