Closed whs closed 12 years ago
you can pass in a custom time to the particle engine to simulate activity before rendering them. for example for ten seconds
emitter.update(10);
or you could do it with a loop, for more accurate results
for (i=0;i<100;i++) {
emitter.update(0.1
}
That does the trick. Thanks!
I want the scene to starts with some particles already existing, just like when the particle system is already ran for few seconds.
Tried this code, but 100 interval doesn't seems to work. 1s does it but the user will see the initialization stage.