So there are several nodes called "sample"Sample ...". For - for example, Sample Nearest, - that can find a point by its attribute "position".
ButHowever, I want to search by other attributes, for examplesuch as Mesh island index.
There is a setup that I struggleam currently struggling with a particular setup:
I useam using the UV pack node to pack my meshes in a square. ButHowever, my meshes are not single meshes, so I have to use Convex hull or Bound box, to makecreate one mesh per object.
ThenAfterwards, I want to getobtain an offset that comesoriginates from the UV Pack, since. Since I disabled rotation, itthis offset should be eventhe same for every point inwithin the same mesh island. ButHowever, I am unsure how do getto retrieve it? I have. I need to search inwithin the meshes to getfind at least one point with a mesh island index that matches the instance index. How to docan I accomplish this?
Setup doesn't work, Sample nearest doesn't work with a custom attribute.