WARNING : This site is outdated and the PopcornFX team will no longer answer your questions here.
For all support questions please go to our Discord server
0 like 0 dislike
Is it possible to scale a Popcorn FX in Unity by scale?  We have a prefab that is scaled in unity and this effect sits on it so it needs to scale.  I know I can do that with a property if I have to, but I'd prefer to scale it with unity.
by midwinterdreams (1.2k points)

1 Answer

1 like 0 dislike
Best answer

No, scaling whole effects isn't a trivial task. Depending on what you're expecting it involves modifying timing, physics parameters, velocities, particle sizes, emission rate...

You'll have to use an attribute for that. The scale is actually ignored by the PKFxFXComponent when updating transforms.
by Raphael (10.6k points)
Thanks, I wanted to check before I spent a bunch of time trying to do it.  Attributes will work with some tweaking to the original prefab.