0 like 0 dislike
281 views
Hello,

I made a particle that goes around in a complete circle. The particle has a spawner evolver with a ribbon renderer so it makes a ribbon go around in a circle. The ribbon has it's life set so that it doesn't look like a full circle but rather a "1/3 moon". I have a TextureU = LifeRatio, and the texture continues perfectly,

However, there is always a gap at the beginning/end of the ribbon(see link for image preview):

https://drive.google.com/open?id=0B8mdG_h56p1Gc1cyOFFUdVBhYVk
by Zheljka (720 points)

1 Answer

1 like 0 dislike

Hi Zheljka,

It's a bit of a guess here, but is it not related to the "parent" particle's life ? In the above picture I tried to reproduce your issue (without the use of TextureU=LifeRatio on the Ribbon renderer), and this gap is because of the parent particle's Life being too short, and my spawner being infinite.

If this is not the case, would you mind sending us your FX or a simple version of it so I can see what happens ?

Thank you.

by HugoPKFX (16.7k points)
Prolonging  particle's life just makes it go full circle but there's still a gap.
Here is the simplified version: https://drive.google.com/open?id=0B8mdG_h56p1GZGxORWlMelBCWjg

The little gap standing on the right side is the problem. Thank you :)
Hi,

The issue here is that the parent's particle LifeRatio won't have initial values of 0.0 and 1.0, rather something say 0.0001 - 0.9999, and as the formation of your circle is dependant on that, it won't work.

https://drive.google.com/file/d/0B4mWaUghj-kQLTNJemstcVAyV2M/view?usp=sharing

I modified your effect to directly use the parent particle to drive the ribbon circle with some explanations in the Spawner script.
Let me know how you find this solution.

PS: You can export FXs as a package by right clicking on an effect inside the PopcornFX Editor content browser view "Export To Package", to make sure all dependencies will be included with your FX. It is also easier to import packages inside an existing PopcornFX project than just copy/pasting your .pkfx file inside your project.
Thank you!. That did the trick. It works well now :)
...