So, been creating a projectile today and I wanted to spawn an emitter at the point where the projectile hit. Well, I used spawn emitter at location, and it did spawn an emitter, but even though I checked the little auto destroy box, the emitters never go away. The emitters should only last for about 3 seconds before they go through a full cycle/lifetime. Am I doing something wrong or is this really a bug?
1 Like
It may be to do with the setup of your particle system - if a particle system never completes (i.e it is looping), the emitter is never finished and therefore never destroyed.
What does your particle setup look like?
1 Like
Is your emitter by chance set up to be looping? (Emitter loops set to 0) If so, I don’t believe the emitter ever “ends”, meaning it wont know when to destroy itself.
1 Like
Yup, it seems that my emitters were all set to loop = 0. setting that at 1 fixed it. thx all!
Could you possibly tell me where you can set the loop property you’re talking about? I can’t find it anywhere.
It’s pretty easy to find.
Every emitter has it’s own number of loops property in the require module.
Thank you. You’re right, I should have seen that.
1 Like