1
$\begingroup$

I have a collection full of objects transformed to form a structure. In GN, I'm basically taking the objects in as instances, resetting them and instancing the reset pieces onto a circle. What I want to be able to do after this is to be able to mix the original, unresetted positions of the instances to those that have been generated after distribution.

Despite my best efforts I was unable to do so. I tried everything like capturing the instance transforms of the original positions and mixing that with the captured positions after distribution, absolutely to no avail :( This is a breeze to do without a second thought in Houdini with packed geometry, yet in Blender I really can't seem to make sense of things in GN. The viewer node is able to display the world positions of both distributed and original instances perfectly, yet when it comes to reading them, zilch... :(

Any help would be wildly appreciated.

enter image description here

$\endgroup$
2
  • $\begingroup$ This is the type of a question that doesn't need a .blend file (and therefore a correct question), but uploading one on blend-exchange.com will help contributors to write an answer. Basically you need to use "Set Position" and "Mix" in vector mode, to mix between "position" of the mesh circle vertex, and a position sampled from the instance in the top collection node. $\endgroup$ Commented Feb 1 at 16:18
  • $\begingroup$ Thanx for your reply. I tried that to no avail :( $\endgroup$ Commented Feb 1 at 16:21

1 Answer 1

1
$\begingroup$

I think I got what you meant by "sampling positions" after digging in more. I used the "sample index" node and sampled the instance positions and it worked :) I was trying to retrieve positions by using the "Capture Attribute" node previously...

enter image description here

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.