04-05-2019, 08:44 AM
I know this can be done with script operator, though an operator which sorts the particles by id or other attributes in world space would be very nice.
For example, in a flow with 100 particles, when you sort the particle ids by distance to an object, particle with id 1 will be the closest to the object and 100 will be the farthest. But the positions of the particles wont change, they only will switch places.
For example, in a flow with 100 particles, when you sort the particle ids by distance to an object, particle with id 1 will be the closest to the object and 100 will be the farthest. But the positions of the particles wont change, they only will switch places.