ParticleEffectForUGUI icon indicating copy to clipboard operation
ParticleEffectForUGUI copied to clipboard

Additions to Particle Attractor

Open iMobCoding opened this issue 1 year ago • 4 comments
trafficstars

It would be nice if PA can have some randomness for Delay Rate like normal particles do: constant, between 2 constants, curve & between 2 curves. Just to break its uniformity when attracting particles...

Thanks

iMobCoding avatar Jul 27 '24 18:07 iMobCoding

Thank you for your reporting!

mob-sakai avatar Jul 27 '24 21:07 mob-sakai

For example, in the demo, I set StartLifetime=[5-8] to add randomness.

UIParticle_Demo_-ParticleEffectForUGUI_v4-Windows__Mac__Linux-_Unity_2021_3_30f1__Metal__compressed

Aug-08-2024 02-06-34_compressed

mob-sakai avatar Aug 07 '24 17:08 mob-sakai

Yes I know, it's one way to add randomness. But if we, for example, add the curve in the attractor, we can then join Delay, Max Speed and Movement into the one property. In one curve you set when particle starts going to the attractor, its moving speed and Ease. And adding 2 curves there would achieve randomness too. That way we can avoid my first suggestion (constant and 2 constants) as all of that could be achieved with curves

iMobCoding avatar Aug 07 '24 22:08 iMobCoding

Maybe using Particle.randomSeed will allow you to fix the curve for the particles.

mob-sakai avatar Sep 26 '24 09:09 mob-sakai