- Home /
Particle System Scaling - Not working for velocities
Hello,
the 5.3 patch release claims full particle scaling, but as i see it velocities over lifetime are not being scaled at all. Here is an example, size scales, velocities don't:
Am i mistaken? This is crucial when scaling particle systems, so will it come in the future?
I also have one other question: the patchnotes say "Particles: All UI settings exposed to scripting API", are they read only or can i access the velocities this way and scale them by hand?
Cheers
Answer by tawsm · Jan 08, 2016 at 03:24 PM
After i wasted an hour on trying to scale my velocity curves via script, I stumbled upon this thread and obviously it's not possible to scale velocity curves because you cannot get them: http://forum.unity3d.com/threads/cant-set-any-new-particle-system-properties-through-script.358964/
Due to the way curves are compressed in the players, it is not possible to get curves unless they are using one of the two constant modes. We hope to address this in the future - we understand it can be quite limiting.
Particle scaling needs velocity and force scaling to work for complex particle simulations. Why does Unreal know that and Unity doesn't?
Since the Unity 5.4 update particle scaling works just fine now (via script). Here is the script i am using: https://gist.github.com/Priareos/927eb9dc812f86c88421dc5747d86688
Answer by torantie · Sep 10, 2020 at 09:50 AM
I know its an old question and was resolved in the recent unity versions with "Hierarchy" Scaling Mode in the Particle System Settings, but it still wouldn't scale properly in my Project. Basically if i down-scaled a fire effect it would have an extremely high velocity. I fixed that by multiplying the new scaling factor (in my case about 0.002) of the particle system with the Gravity Modifier (was -0.04 in my case). Just wanted to share my fix. (Unity version 2019.4.8f1)