If you want the edges instead of the vertices, you could use a separate pointcloud , get all border edges and resample the space between each of the two points of every edge. Use the positions for an add point node. Then use this pointcloud for the distance lookup.
-- christian keller visual effects|direction m +49 179 69 36 248 f +49 40 386 835 33 [email protected] gesendet von meinem iDing Am 06.05.2013 um 17:12 schrieb Vincent Ullmann <[email protected]>: > You also could use a SelectInArray with Index 0. > Might be the cleaner way. > Indeed the Pop is quite "wrong". I though i would give me the First Element, > not the last. Therefore i was a bit surprised, why i had to uncheck the > Ascending-Bool > > Another approach could be the solution i suggested first. Using a > GetArrayMinimum and FindInArray. > Not sure whats slower. GetArrayMin + FindInArray or SortArrayWithKey > > > > By the Way.... > Here is a little improved Version... getting closest Positions on the > Border-Edges > > > Am 06.05.2013 16:55, schrieb olivier jeannel: >> Super great ! >> Why I don't get the SortArrayWithKey and the PopFromArray ? >> Is it goaling first to the closest border edge and then to the furthest ? >> If so, why do you need the Pop ? >> >> (Not tested, just reading the tree) >> >> >> >> >> >> >> Le 06/05/2013 16:25, Vincent Ullmann a écrit : >>> Here is a little Test, of that what i just wrote. >>> Might be a "bit" clearer ;-) >>> >>> >>> >>> Am 06.05.2013 16:04, schrieb Paul Griswold: >>>> Hey guys - >>>> >>>> Is there a way to get the location of the nearest disconnected edge and >>>> set that as the goal for my particles? >>>> >>>> I'm using Eric Mootz's emTV compounds to grow a mesh & I want to attract >>>> particles to the newly created disconnected edges. >>>> >>>> Thanks, >>>> >>>> Paul > > <Get_Closest_Border.2.0.xsicompound> > <closest_border2_0.JPG>

