04-24-2020, 02:18 AM
HI,Tyson!
A group of particles, I want to find the average position of each other. The average position is within a radius. Replace the original position.
Like two pictures. For the same group of particles, I let them search for each other in a radius. And find the average position of each other. Then replace the old position with the new position, the final result is that the particles "shrink". The number of particles has not decreased
Is this in TF. Is there a way to achieve it? Or how to achieve it in the script?
Thank you!
A group of particles, I want to find the average position of each other. The average position is within a radius. Replace the original position.
Like two pictures. For the same group of particles, I let them search for each other in a radius. And find the average position of each other. Then replace the old position with the new position, the final result is that the particles "shrink". The number of particles has not decreased
Is this in TF. Is there a way to achieve it? Or how to achieve it in the script?
Thank you!