Changeset 976
- Timestamp:
- Apr 3, 2008, 1:59:46 PM (17 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/bin/levels/sample.oxw
r871 r976 15 15 16 16 <!--Fighter camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh" forward="500" rotateupdown="200" rotaterightleft="200" looprightleft="200" /--> 17 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf 5.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />17 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" /> 18 18 19 19 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> … … 23 23 <NPC position="100,0,400" scale="1" mesh="razor.mesh"/> 24 24 25 <!-- 25 26 <Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" /> 26 27 <Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0"> … … 33 34 </attached> 34 35 </Model> 36 --> 35 37 36 38 <Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" /> -
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.