1
$\begingroup$

I would like to offset certain elements in the y direction of this mesh based on the proximity relative to the wire framed cube. All the hexagon elements belong to the same mesh but are separate regarding the vertices. This is the desired effect:

enter image description here

I've managed to displace the vertices like this using the geometry proximity node:

enter image description here

But I would like to move the entire part. This is my current geometry nodes setup:

enter image description here

$\endgroup$
0

2 Answers 2

0
$\begingroup$

You can calculate the average position per mesh island and use it as the source for the Geometry Proximity.

To calculate, divide the sum of positions by the amount of points, values that can be obtained using the Accumulate Field node with island index as Group ID.

node tree

Result:

$\small\color{DarkOrange}{|}\hspace{2pt}\color{gray}{{\tiny\text{V}}\text{ 3.6.5}}\hspace{2pt}\color{DarkOrange}{|}$

$\endgroup$
0
$\begingroup$

Okay. So first what you will need to do is to convert your mesh to instances.
It's a bit complicated process and it costs a lot. There is already a solution how to make it in blender 4.0.
You can read about it more here: Is it possible to convert mesh islands to instances?

And part, where you made a proxmimity object is correct, so the whole setup will look something like this.

enter image description here

$\endgroup$

You must log in to answer this question.

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