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