tyFlow Forum
Sorting IDs - 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: Sorting IDs (/thread-2109.html)



Sorting IDs - peshang - 12-21-2020

is there a way to sort particle IDs?


RE: Sorting IDs - tyFlow - 12-21-2020

What do you mean?


RE: Sorting IDs - peshang - 12-22-2020

Like having a way to sort particle's birth ID sequencally or from a property or randomly ordered.


RE: Sorting IDs - tyFlow - 12-23-2020

For Script operator purposes...or...?

I'm just not sure the usage case here Smile


RE: Sorting IDs - peshang - 12-30-2020

(12-23-2020, 05:50 AM)tyFlow Wrote: For Script operator purposes...or...?

I'm just not sure the usage case here Smile

yes indeed I want to re-calculate the particles I have in the current event in a particular way ( let's  say along positive X-axis)


RE: Sorting IDs - tyFlow - 12-30-2020

Right but what is the intended output?

Also you can use a Script operator to iterate over particles in any order you'd like.


RE: Sorting IDs - peshang - 12-30-2020

the intended output is generating bindings between the particles .. in the order I mentioned ( along the X-axis)
..
I have a fake slicing cylinder that is continuously fractured and respawned to give the illusion of continuous cutting.
so this results in a case where the birth particle IDs are cranking up quickly and things get a bit random ..
i want to make bindings between the particles but first .. i want to have them sorted so that bindings follow the IDs in the order i am going to set.