Changeset 9879 for code/branches/invaders/src/orxonox/worldentities/pawns
- Timestamp:
- Dec 9, 2013, 2:08:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/orxonox/worldentities/pawns/Pawn.cc
r9837 r9879 365 365 this->setDestroyWhenPlayerLeft(false); 366 366 367 BigExplosion* chunk = new BigExplosion(this->getContext()); 367 orxout() << "big explosion: " << this->getVelocity() << endl; 368 BigExplosion* chunk = new BigExplosion(this->getContext(), this->getVelocity()); 368 369 chunk->setPosition(this->getPosition()); 369 chunk->setVelocity(this->getVelocity());370 // chunk->setVelocity(this->getVelocity()); 370 371 371 372 } … … 377 378 effect->setPosition(this->getPosition()); 378 379 effect->setOrientation(this->getOrientation()); 380 effect->setVelocity(this->getVelocity()); 379 381 effect->setDestroyAfterLife(true); 380 382 effect->setSource("Orxonox/explosion2b"); … … 385 387 effect->setPosition(this->getPosition()); 386 388 effect->setOrientation(this->getOrientation()); 389 effect->setVelocity(this->getVelocity()); 387 390 effect->setDestroyAfterLife(true); 388 391 effect->setSource("Orxonox/smoke6"); … … 393 396 effect->setPosition(this->getPosition()); 394 397 effect->setOrientation(this->getOrientation()); 398 effect->setVelocity(this->getVelocity()); 395 399 effect->setDestroyAfterLife(true); 396 400 effect->setSource("Orxonox/sparks");
Note: See TracChangeset
for help on using the changeset viewer.