I’m using some effects generated by the Sparticle tool (http://www.effecthub.com/t/sparticle) and I’m having a hard time figuring out how to know when a particle is done playing it’s animation. My understanding is that the ParticleGroup and ParticleGroupAnimator classes are part of the Away3d API, so I’m starting here instead of the effecthub forum.
I can’t find any properties to inspect that tell me the effects’ animation length, and I can’t find any events that dispatch when the animation is done.
The closest things I can find is the ParticleGroupEvent.OCCUR event, which can be configured to dispatch in the sparticle tool, but I get several of these events dispatched for any given animation… and some of them are dispatched before the effect actually ends, so listening for them isn’t sufficient.