Neighbor search loop
#1
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!


Attached Files
.max   tyFlow_neighborVirus_-custom.max (Size: 9.08 MB / Downloads: 26)
  Reply
#2
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.
  Reply
#3
(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.
  Reply


Forum Jump: