0
$\begingroup$

Please help me to select the green sphere (A) and get its y coordinate so that the mesh line is connected to the icosphere on the circle. enter image description here
Blender file is available here:

$\endgroup$

1 Answer 1

0
$\begingroup$

(Using Blender 3.6.8)

To capture the position of an instance, it must be "realized" first. But to not realize all instances, as only the last one is of interest, a copy is made using a Duplicate Elements node set in Instance domain. The number of instances is recovered by a Domain Size node set in Instance domain also. Then all instances but the one with the last index, i.e. the Instance Count minus 1, are deleted. The remaining instance is finally realized. Its barycentre is computed using an Attribute Statistic node as the mean of its vertices position.

GN graph

Resources:

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .