Let’s say you wanted to delete certain points for some reason; maybe they were misbehaving or something. You could just stick the IDs into an array and feed that into Find in Array, like so:
This is an answer to a question on si-community, which timed out on me when I clicked Submit. So now it’s my post for today. After struggling with Maya nParticles for an hour, I can’t think hard anymore.
Here’s an ICE tree I was fiddling around with…given some polygons, this ICE tree resizes those polygons by moving points along the vector between the original point position and the polygon position.
This ICE tree builds an array that holds the point IDs, sorted by their distance from a null:
Now, here’s how to move the “index in sorted array” and the “distance from null” down to per-point data.
(For clarity, I changed the Show Values to show only for tagged points.)