Changeset 976 for code/trunk/src
- Timestamp:
- Apr 3, 2008, 1:59:46 PM (17 years ago)
- Location:
- code/trunk/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/SpaceShip.cc
r871 r976 141 141 this->tt_->getParticleSystem()->setParameter("local_space","true"); 142 142 this->tt_->newEmitter(); 143 this->tt_->newEmitter(); 144 143 145 /* 144 146 this->tt_->setDirection(Vector3(0,0,1)); … … 147 149 */ 148 150 this->tt_->setDirection(Vector3(-1,0,0)); 149 this->tt_->setPositionOfEmitter(0, Vector3(-15,20,-1)); 150 this->tt_->setPositionOfEmitter(1, Vector3(-15,-20,-1)); 151 this->tt_->setPositionOfEmitter(0, Vector3(-35,31,-3)); 152 this->tt_->setPositionOfEmitter(1, Vector3(-35,-31,-3)); 153 this->tt_->setPositionOfEmitter(2, Vector3(-48,0,20)); 151 154 this->tt_->setVelocity(50); 152 155 … … 162 165 this->greenBillboard_.setBillboardSet("Examples/Flare", ColourValue(0.0, 1.0, 0.0), 1); 163 166 164 this->redNode_ = this->getNode()->createChildSceneNode(this->getName() + "red", Vector3( 0.3, 4.7, -0.3));167 this->redNode_ = this->getNode()->createChildSceneNode(this->getName() + "red", Vector3(-0.9, 3.3, -0.4)); 165 168 this->redNode_->setInheritScale(false); 166 this->greenNode_ = this->getNode()->createChildSceneNode(this->getName() + "green", Vector3( 0.3, -4.7, -0.3));169 this->greenNode_ = this->getNode()->createChildSceneNode(this->getName() + "green", Vector3(-0.9, -3.3, -0.4)); 167 170 this->greenNode_->setInheritScale(false); 168 171 -
code/trunk/src/orxonox/objects/SpaceShip.h
r871 r976 84 84 float mouseY_; 85 85 86 int emitterRate_;86 float emitterRate_; 87 87 }; 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.