Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2014, 3:25:44 PM (10 years ago)
Author:
landauf
Message:

ParticleEmitter should be a StaticEntity just like every other graphics class. If it needs to move, attach it to a movable entity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/worldentities/pawns/Pawn.cc

    r9949 r9950  
    392392            effect->setPosition(this->getPosition());
    393393            effect->setOrientation(this->getOrientation());
    394             effect->setVelocity(this->getVelocity());
    395394            effect->setDestroyAfterLife(true);
    396395            effect->setSource("Orxonox/explosion2b");
     
    401400            effect->setPosition(this->getPosition());
    402401            effect->setOrientation(this->getOrientation());
    403             effect->setVelocity(this->getVelocity());
    404402            effect->setDestroyAfterLife(true);
    405403            effect->setSource("Orxonox/smoke6");
     
    410408            effect->setPosition(this->getPosition());
    411409            effect->setOrientation(this->getOrientation());
    412             effect->setVelocity(this->getVelocity());
    413410            effect->setDestroyAfterLife(true);
    414411            effect->setSource("Orxonox/sparks");
Note: See TracChangeset for help on using the changeset viewer.