Changeset 664 for code/branches/FICN/src/orxonox
- Timestamp:
- Dec 21, 2007, 1:47:26 AM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/Explosion.cc
r646 r664 17 17 this->destroyTimer_.setTimer(this->lifetime_, false, this, &Explosion::destroyObject); 18 18 19 this->scale(1);20 19 Vector3 position = owner->getNode()->getWorldPosition(); 21 20 … … 23 22 this->particle_->getParticleSystem()->setParameter("local_space", "true"); 24 23 this->particle_->newEmitter(); 25 this->particle_->setPositionOfEmitter(0, position); 26 this->particle_->setPositionOfEmitter(1, position); 27 // this->particle_->setColour(ColourValue(1.0, 0.8, 0.2)); 24 this->particle_->setPositionOfEmitter(0, Vector3::ZERO); 25 this->particle_->setPositionOfEmitter(1, Vector3::ZERO); 26 this->particle_->setColour(ColourValue(1.0, 0.8, 0.2)); 27 28 this->setPosition(position); 29 this->scale(2); 28 30 29 31 this->particle_->addToSceneNode(this->getNode()); -
code/branches/FICN/src/orxonox/objects/SpaceShip.cc
r661 r664 235 235 */ 236 236 237 cam->setPosition(Vector3(- 150,0,50));237 cam->setPosition(Vector3(-200,0,35)); 238 238 // cam->setPosition(Vector3(0,-350,0)); 239 cam->lookAt(Vector3(0,0, 20));239 cam->lookAt(Vector3(0,0,35)); 240 240 cam->roll(Degree(-90)); 241 241
Note: See TracChangeset
for help on using the changeset viewer.