- Timestamp:
- Nov 2, 2015, 3:56:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/explosionChunksHS15/src/orxonox/worldentities/ExplosionPart.cc
r10752 r10755 48 48 this->explosionEntity_ = new MovableEntity(this->getContext()); 49 49 50 51 50 52 } 51 53 … … 69 71 orxout() << getEffect() << endl; 70 72 71 this-> explosionEntity_->setSyncMode(0);73 this->model_->setVisible(true); 72 74 73 this->model_->setSyncMode(0); 75 //this->explosionEntity_->setSyncMode(0); 76 77 //this->model_->setSyncMode(0); 74 78 75 79 this->particleInterface_ = new ParticleInterface(this->getScene()->getSceneManager(), effect_, this->LOD_); … … 77 81 this->model_->attachOgreObject(this->particleInterface_->getParticleSystem()); 78 82 79 this->model_->setMeshSource(mesh_);83 80 84 81 85 this->explosionEntity_->setVelocity(Vector3(rnd(-1, 1), rnd(-1, 1), rnd(-1, 1))*rnd(50,100)); … … 95 99 { 96 100 this->mesh_ = newString; 101 this->model_->setMeshSource(mesh_); 102 this->model_->setVisible(false); 97 103 orxout() << newString << endl; 98 104 }
Note: See TracChangeset
for help on using the changeset viewer.