2
$\begingroup$

Quick question for all those more versed in Geometry Nodes than I am. I want to pick an object from a collection by it's instance index and place it at the origin of whatever object is using this geo node setup:

A geo node setup I'm using to put one object from a collection at a point in space dynamically via it's instance index.

Right now, I'm able to do this with some inverse calculations upon the bounding box of the output outlined in red, but what I'd really like to do is get the object origin of the output outlined in red, even though by this point its not an 'object' but just mere geometric data, so that I can retain the offset the mesh data might have from the origin of the picked object that mesh data belongs to.

Is there any way I can achieve what I described even if completely alien to my current node setup?

Many thanks for reading!

$\endgroup$

1 Answer 1

2
$\begingroup$

Simply reset the transformations of the instances, so their locations are $<0, 0, 0>$, then pick the one of interest.

$\endgroup$
1
  • 1
    $\begingroup$ That seems to have done it, TYSM! Sorry for the late reply, got caught up last night in other matters than had work all of today : ) $\endgroup$ Oct 13, 2023 at 16:41

You must log in to answer this question.

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