How to stop Particle?
Page 1 of 1 • Share •
How to stop Particle?
How to stop Particle? I used particle system do Explosion effects !But you can not stop it.
When I use sio2EmitterStop () function, but Suspended particles.
In my demo,When Throw grenade,Hit and exploded , like sio2interactive's 3d shooter,How to stop Particle?
thank you!
When I use sio2EmitterStop () function, but Suspended particles.
In my demo,When Throw grenade,Hit and exploded , like sio2interactive's 3d shooter,How to stop Particle?
thank you!
LuisLee- Posts: 85
Join date: 2009-04-27
Age: 22
Re: How to stop Particle?
You have to set particles lifetime to zero (0), based on some elapsed time (e.g. how long you want your emitter & particles to last basically).
http://sio2interactive.forumotion.net/sio2-engine-f3/stopping-emitter-after-1-cycle-t657.htm?highlight=stop+emitter
http://sio2interactive.forumotion.net/sio2-engine-f3/stopping-emitter-after-1-cycle-t657.htm?highlight=stop+emitter
Francescu- Posts: 136
Join date: 2009-03-18
Re: How to stop Particle?
Actually me the way I do it is when the emitter reach a certain amount of particle I stop creating them... then when all particles are done rendering I flush the emitter... that's the way I do it in BW.
_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com

sio2interactive- Posts: 1524
Join date: 2008-08-26
Age: 30
Location: Shanghai

Re: How to stop Particle?
sio2interactive wrote:Actually me the way I do it is when the emitter reach a certain amount of particle I stop creating them... then when all particles are done rendering I flush the emitter... that's the way I do it in BW.
That's right - I recall you mentioning it before as another way.
Cheers
Francescu- Posts: 136
Join date: 2009-03-18
Permissions of this forum:
You cannot reply to topics in this forum




