2
$\begingroup$

I want to use geometry nodes as a snapping tool. Here is a simple example of the problem: The geometry proximity node uses the shortest distance. How can I make it use the distance in the direction of the normal of each face?

enter image description here

small shape I want to deform: enter image description here

big shape I want to snap to:

enter image description here

result of geometry proximity using the shortest distance: enter image description here

enter image description here

I have added the file, I hope I shared it correcly in this way.

$\endgroup$

1 Answer 1

5
$\begingroup$

In this case you would have to use the node Raycast:

enter image description here

With this you can feed the direction of the ray with the normals of the faces, whereby along this the position of the nearest object can be queried and used as position for Set Position.

$\endgroup$

You must log in to answer this question.

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