Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2007, 1:47:26 AM (16 years ago)
Author:
landauf
Message:
  • bigger explosions
  • changed camera orientation
File:
1 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());
Note: See TracChangeset for help on using the changeset viewer.