Stopping emitter after 1 'cycle'
2 posters
Stopping emitter after 1 'cycle'
Any way of stopping an emitter after it's used up all of the particles ?
The context would be for something like an explosion.
I've had a look around the code but couldn't see anything obvious.. but hopefully I've overlooked something (most likely!![Smile](https://2img.net/i/fa/i/smiles/icon_smile.gif)
The context would be for something like an explosion.
I've had a look around the code but couldn't see anything obvious.. but hopefully I've overlooked something (most likely!
![Smile](https://2img.net/i/fa/i/smiles/icon_smile.gif)
c3games- Posts : 5
Join date : 2009-05-27
Re: Stopping emitter after 1 'cycle'
"One shot" emitters can be created by changing the parabolic equation, adding a lifetime parameter:
https://sio2interactive.forumotion.net/sio2-engine-f3/particle-systems-explosion-t568.htm
Haven't found a good way to cull or re-use the allocated particles, through, but the memory footprint isn't too bad... I should probably create a pool of emitter systems and cycle through them.
Hope that helps,
--yarri
https://sio2interactive.forumotion.net/sio2-engine-f3/particle-systems-explosion-t568.htm
Haven't found a good way to cull or re-use the allocated particles, through, but the memory footprint isn't too bad... I should probably create a pool of emitter systems and cycle through them.
Hope that helps,
--yarri
yarri- Posts : 81
Join date : 2009-04-10
![-](https://2img.net/i/empty.gif)
» Placing emitter at touch location - viewport size smaller than screen - tutorial 12
» Emitter position
» Emitter positions
» Problems with the emitter tutorial
» Placing particles emitter in front of camera
» Emitter position
» Emitter positions
» Problems with the emitter tutorial
» Placing particles emitter in front of camera
Permissions in this forum:
You cannot reply to topics in this forum
|
|