Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additions to Particle Attractor #321

Open
iMobCoding opened this issue Jul 27, 2024 · 4 comments
Open

Additions to Particle Attractor #321

iMobCoding opened this issue Jul 27, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@iMobCoding
Copy link

iMobCoding commented Jul 27, 2024

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 iMobCoding added the enhancement New feature or request label Jul 27, 2024
@mob-sakai
Copy link
Owner

Thank you for your reporting!

@mob-sakai
Copy link
Owner

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

@iMobCoding
Copy link
Author

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

@mob-sakai
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants