Particles effect

Software: Away3D 4.x

louis87, Jr. Member
Posted: 04 December 2013 02:21 PM   Total Posts: 46

Hello all grin

I’m trying to achieve some effect with particles and I need some help. I need the particles to not dissapear when their live time is complete, but stay in their final properties but with no more updates (transformation, color, etc).

Anyone knows how to do it?

thanks wink

   

Avatar
GoroMatsumoto, Sr. Member
Posted: 04 December 2013 03:27 PM   Total Posts: 166   [ # 1 ]

You can use “phase” method.

with initialize you particle animator:

particleAnimator.autoUpdate false;
particleAnimator.phase 0

and update:

if(particleAnimator.phase <= 1)
particleAnimator.phase += speed


0 represents the beginning of an animation clip, 1 represents the end.

   

louis87, Jr. Member
Posted: 04 December 2013 04:03 PM   Total Posts: 46   [ # 2 ]

Thank you for your answer GoroMatsumoto, but this is not what I asked.

What you are saying make the whole animation to stop at 1. But what I want is that every particle, when finish the duration (that can be different for each one), do not dissapear.

And I’m not saying that I want a loop… For example if I have a particle that finish in time == 2, but the whole animation of particles is time == 4, I want this particle to stay visible with with last properties.

   

Avatar
GoroMatsumoto, Sr. Member
Posted: 05 December 2013 06:43 AM   Total Posts: 166   [ # 3 ]

Recently, I don’t touch particle system, so I can’t say yes with confidence.
But maybe you can.

If you have not search in EffectHub about the issue, try to dig it.
http://www.effecthub.com/item/featured/MostDiscussed/Particle
http://www.effecthub.com/topic/92

And you can tinker particle properties with GUI on Sparticle.
http://www.effecthub.com/t/sparticle

Good luck.

   

louis87, Jr. Member
Posted: 05 December 2013 07:44 AM   Total Posts: 46   [ # 4 ]

Thanks, I’ll take a look. I was trying to get into the inner code of the particles to make a hack, but it is not trivial :-(

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X