0
\$\begingroup\$

When using particle systems that have a lifetime, with CCParticleSystem and its derived classes, should I manually remove the finished systems from their parent nodes once the particle animations are complete? Or this is done automatically? I don't want to leave dead particle systems in my scene, for obvious reasons.

\$\endgroup\$
0
\$\begingroup\$

CCParticleSystemBase has an autoRemoveOnFinish property. The name is self explanatory. This property is NO by default. So should be set to YES on creation for particles that have a finite lifetime.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.