Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 16, 2013, 1:33:09 PM (11 years ago)
Author:
smerkli
Message:

Merged the invaders branch of Florian

Location:
code/branches/presentationHS13
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS13

  • code/branches/presentationHS13/src/orxonox/worldentities/pawns/Pawn.cc

    r9667 r9900  
    365365        this->setDestroyWhenPlayerLeft(false);
    366366
    367         BigExplosion* chunk = new BigExplosion(this->getContext());
     367        orxout() << "big explosion: " << this->getVelocity() << endl;
     368        BigExplosion* chunk = new BigExplosion(this->getContext(), this->getVelocity());
    368369        chunk->setPosition(this->getPosition());
     370        // chunk->setVelocity(this->getVelocity());
    369371
    370372    }
     
    376378            effect->setPosition(this->getPosition());
    377379            effect->setOrientation(this->getOrientation());
     380            effect->setVelocity(this->getVelocity());
    378381            effect->setDestroyAfterLife(true);
    379382            effect->setSource("Orxonox/explosion2b");
     
    384387            effect->setPosition(this->getPosition());
    385388            effect->setOrientation(this->getOrientation());
     389            effect->setVelocity(this->getVelocity());
    386390            effect->setDestroyAfterLife(true);
    387391            effect->setSource("Orxonox/smoke6");
     
    392396            effect->setPosition(this->getPosition());
    393397            effect->setOrientation(this->getOrientation());
     398            effect->setVelocity(this->getVelocity());
    394399            effect->setDestroyAfterLife(true);
    395400            effect->setSource("Orxonox/sparks");
Note: See TracChangeset for help on using the changeset viewer.