Sorting IDs
#1
is there a way to sort particle IDs?
  Reply
#2
What do you mean?
  Reply
#3
Like having a way to sort particle's birth ID sequencally or from a property or randomly ordered.
  Reply
#4
For Script operator purposes...or...?

I'm just not sure the usage case here Smile
  Reply
#5
(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)
  Reply
#6
Right but what is the intended output?

Also you can use a Script operator to iterate over particles in any order you'd like.
  Reply
#7
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.
  Reply


Forum Jump: