Search found 2 matches
- Mon Sep 18, 2006 12:27 am
- Forum: Beginners Help
- Topic: ParticleEmitter - point emitter - Why does it only emit one?
- Replies: 12
- Views: 773
I doubt wheather you have ever tested it by yourself? The value will be changed and just initialled once.If ParticlesAreGlobal is ture(in most condition) AbsoluteTransformation.transformVect(array[i].pos); When the code is invoked, the pos is changed.It will be chaged again when an now particle prod...
- Thu Sep 14, 2006 12:20 pm
- Forum: Beginners Help
- Topic: ParticleEmitter - point emitter - Why does it only emit one?
- Replies: 12
- Views: 773
if you need the point emiiter work correctly
add the code below into s32 CParticlePointEmitter::emitt(u32 now, u32 timeSinceLastCall, SParticle*& outArray) if (Time > everyWhatMillisecond) { Time = 0; Particle.startTime = now; Particle.vector = Direction; // add here Particle.pos.x= 0; Particle.pos.y= 0; Particle.pos.z= 0; // OK,try it aga...