I am trying to implement a particle engine. The structure layout has ParticleManager->ParticleSystem->Particle
I am able to get the entity ie the particle to be displayed. What i want to do is to have different effects just by calling different ParticleSystem like Smoke, Spark, Bubble, Snow etc by calling the
functions like
Smoke(number of particles, position, "image file",...);
The problem i am facing is...how to get the calculation for these effects.
Like if the particle has properties like....
position
velocity
energy
gravity
windspeed etc
Then how to manipulate these properties...is there any particular calculation for each of these effect like Smoke how much velocity,energy etc needs to be changed and how to be changed..etc
Similarly for other effects.
All suggestions are welcome...