tyFlow Forum
Neighbor search loop - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Neighbor search loop (/thread-4716.html)



Neighbor search loop - ldotchopz - 03-10-2025

Going from the example scene "neighbor virus" I have been trying make the virus die over time and then grow from different places. I really struggle to understand when the Properties Test Operator is looking for a Particle Group that is further along in the chain of events, it doesn't make logical sense to me.

I am trying to send the virus particles back to the first event, to make a continuous growth pattern spreading everything. I have particles spawning to trigger the growth but once the virus has spread it won't send them back without it doing something weird. I'd really like to get a grip on particle groups.

My attemp is attached,

Thanks!


RE: Neighbor search loop - tyFlow - 03-21-2025

If you want it to loop after completion, just pick the desired end frame and use a Time Test to reset everything (any changed properties, groups, etc), and then send the particles back to the beginning event...ie, a full reset of everything.

If you want the loop to overlap, so there's always some virus growth still happening when the next loop starts, you're better off with a setup that relies on some incremental value that gets checked instead of groups. The official example files (Scripting folder - light pulse file) contains an example of this.


RE: Neighbor search loop - ldotchopz - 03-25-2025

(03-21-2025, 04:16 AM)tyFlow Wrote: If you want it to loop after completion, just pick the desired end frame and use a Time Test to reset everything (any changed properties, groups, etc), and then send the particles back to the beginning event...ie, a full reset of everything.

If you want the loop to overlap, so there's always some virus growth still happening when the next loop starts, you're better off with a setup that relies on some incremental value that gets checked instead of groups. The official example files (Scripting folder - light pulse file) contains an example of this.

That script file is very helpful, I must have missed that! thanks.

But the looping using a time test is what i have tried already and it doesn't loop it sends the particles crazy, this was what was frustrating me.