Changeset 6764 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Jan 26, 2006, 11:08:20 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r6760 r6764 214 214 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false); 215 215 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); 217 217 this->burstEmitter->setParent(this); 218 this->burstEmitter->setRelCoor(-1, .5, 0); 218 219 this->burstEmitter->setName("SpaceShip_Burst_emitter"); 219 220 … … 338 339 velocity = (velocity.getNormalized())*travelSpeed; 339 340 this->burstEmitter->setEmissionRate(travelSpeed); 341 this->burstEmitter->setEmissionVelocity(travelSpeed*.5, travelSpeed *.1); 340 342 341 343 //orient the spaceship in direction of the mouse
Note: See TracChangeset
for help on using the changeset viewer.