hello,
i like ur particle System very much and build at this time a mood lamp. I want that the user can change the effect. In my example from fire to spin.
My Problem, how can i init both effects at the same time. I try this with follow code:
´´´
PartMatrix pMatrix;
// Spin
Particle_Bounce particles_bounce[numParticles];
Emitter_Spin emitter_spin(112, 112, 5, 7);
ParticleSys pSys_spin(numParticles, particles_bounce, &emitter_spin);
// Flame
Particle_Std particles_std[numParticles];
Particle_Fixed source;
Emitter_Fountain emitter_fountain(0, 0, 5, &source);
ParticleSys pSys_flame(numParticles, particles_std, &emitter_fountain);
...
// User can change between effects
pSys_flame.update();
// OR
pSys_spin.update();
´´´
Flame works wonderfull, but only the spin effect do nothing. May this is the wrong way or both effects use same memory? Or i have to use different PartMatrix?