Changeset 9952 for code/trunk/src
- Timestamp:
- Jan 3, 2014, 3:41:45 PM (11 years ago)
- Location:
- code/trunk/src/orxonox/worldentities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/worldentities/BigExplosion.cc
r9949 r9952 100 100 this->debris4_->setSyncMode(0); 101 101 102 this->explosion_ = new MobileEntity(this->getContext());102 this->explosion_ = new StaticEntity(this->getContext()); 103 103 this->explosion_->setSyncMode(0); 104 104 … … 148 148 this->debrisEntity4_->attach(debris4_); 149 149 150 // ///////////////////////151 // TODO: particleSpawner is a static entity. It should probably be dynamic, for better explosions.152 //153 150 ParticleSpawner* effect = new ParticleSpawner(this->getContext()); 154 // effect->setVelocity(this->getVelocity());155 151 effect->setDestroyAfterLife(true); 156 152 effect->setSource("Orxonox/explosion2b"); … … 159 155 160 156 ParticleSpawner* effect2 = new ParticleSpawner(this->getContext()); 161 // effect2->setVelocity(Vector3(rnd(-1, 1), rnd(-1, 1), rnd(-1, 1))*rnd(10, 200));162 157 effect2->setDestroyAfterLife(true); 163 158 effect2->setSource("Orxonox/smoke6"); -
code/trunk/src/orxonox/worldentities/BigExplosion.h
r9951 r9952 60 60 bool bStop_; 61 61 62 MobileEntity* explosion_;62 StaticEntity* explosion_; 63 63 64 64 MovableEntity* debrisEntity1_;
Note: See TracChangeset
for help on using the changeset viewer.