Changeset 621
- Timestamp:
- Dec 18, 2007, 6:00:40 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/SpaceShip.cc
r614 r621 107 107 108 108 w = new particle::ParticleInterface(Orxonox::getSingleton()->getSceneManager(),"schuss" + this->getName(),"Orxonox/schuss"); 109 w-> particleSystem_->setParameter("local_space","true");109 w->getParticleSystem()->setParameter("local_space","true"); 110 110 w->newEmitter(); 111 111 /* … … 125 125 126 126 tt = new particle::ParticleInterface(Orxonox::getSingleton()->getSceneManager(),"twinthruster" + this->getName(),"Orxonox/engineglow"); 127 tt-> particleSystem_->setParameter("local_space","true");127 tt->getParticleSystem()->setParameter("local_space","true"); 128 128 tt->newEmitter(); 129 129 /* -
code/branches/FICN/src/orxonox/particle/ParticleInterface.h
r618 r621 18 18 { 19 19 public: 20 Ogre::ParticleSystem *particleSystem_;21 20 22 21 ParticleInterface( Ogre::SceneManager *sceneManager, Ogre::String name, Ogre::String templateName ); … … 40 39 void switchEnable( void ); 41 40 41 Ogre::ParticleSystem* getParticleSystem() {return this->particleSystem_; }; 42 42 43 private: 43 44 Ogre::SceneNode *sceneNode_; 44 45 Ogre::SceneManager *sceneManager_; 46 Ogre::ParticleSystem *particleSystem_; 45 47 Ogre::Real distance_; 46 48 Ogre::Real velocity_;
Note: See TracChangeset
for help on using the changeset viewer.