Changeset 9869 for code/branches/invaders/src/orxonox/worldentities
- Timestamp:
- Dec 3, 2013, 9:02:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/orxonox/worldentities/BigExplosion.cc
r9868 r9869 148 148 this->debrisEntity4_->attach(debris4_); 149 149 150 // particleSpawner is a static entity. It should probably be dynamic, for better explosions. 151 // effect->SetVelocity(this->getVelocity() + Vector3(rnd(-1, 1), rnd(-1, 1), rnd(-1, 1))*rnd(10,100)) 150 // /////////////////////// 151 // TODO: particleSpawner is a static entity. It should probably be dynamic, for better explosions. 152 // 152 153 ParticleSpawner* effect = new ParticleSpawner(this->getContext()); 154 // orxout() << "vel " << getVelocity() << endl; 155 // effect->setVelocity(Vector3(rnd(-1, 1), rnd(-1, 1), rnd(-1, 1))*rnd(10, 200)); 153 156 effect->setDestroyAfterLife(true); 154 157 effect->setSource("Orxonox/explosion2b"); … … 157 160 158 161 ParticleSpawner* effect2 = new ParticleSpawner(this->getContext()); 162 // effect2->setVelocity(Vector3(rnd(-1, 1), rnd(-1, 1), rnd(-1, 1))*rnd(10, 200)); 159 163 effect2->setDestroyAfterLife(true); 160 164 effect2->setSource("Orxonox/smoke6");
Note: See TracChangeset
for help on using the changeset viewer.