Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2007, 1:47:26 AM (17 years ago)
Author:
landauf
Message:
  • bigger explosions
  • changed camera orientation
Location:
code/branches/FICN/src/orxonox/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/Explosion.cc

    r646 r664  
    1717            this->destroyTimer_.setTimer(this->lifetime_, false, this, &Explosion::destroyObject);
    1818
    19             this->scale(1);
    2019            Vector3 position = owner->getNode()->getWorldPosition();
    2120
     
    2322            this->particle_->getParticleSystem()->setParameter("local_space", "true");
    2423            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);
    2830
    2931            this->particle_->addToSceneNode(this->getNode());
  • code/branches/FICN/src/orxonox/objects/SpaceShip.cc

    r661 r664  
    235235*/
    236236
    237             cam->setPosition(Vector3(-150,0,50));
     237            cam->setPosition(Vector3(-200,0,35));
    238238//            cam->setPosition(Vector3(0,-350,0));
    239             cam->lookAt(Vector3(0,0,20));
     239            cam->lookAt(Vector3(0,0,35));
    240240            cam->roll(Degree(-90));
    241241
Note: See TracChangeset for help on using the changeset viewer.