Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6764 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Jan 26, 2006, 11:08:20 AM (19 years ago)
Author:
bensch
Message:

trunk: better lighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/space_ship.cc

    r6760 r6764  
    214214  dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false);
    215215
    216   this->burstEmitter = new ParticleEmitter(Vector(-1,0,0), 1, 200, 0.0);
     216  this->burstEmitter = new ParticleEmitter(Vector(1,0,0), .01, 200, 0.0);
    217217  this->burstEmitter->setParent(this);
     218  this->burstEmitter->setRelCoor(-1, .5, 0);
    218219  this->burstEmitter->setName("SpaceShip_Burst_emitter");
    219220
     
    338339  velocity = (velocity.getNormalized())*travelSpeed;
    339340  this->burstEmitter->setEmissionRate(travelSpeed);
     341  this->burstEmitter->setEmissionVelocity(travelSpeed*.5, travelSpeed *.1);
    340342
    341343  //orient the spaceship in direction of the mouse
Note: See TracChangeset for help on using the changeset viewer.