4
$\begingroup$

I'm trying to combine information about original position with information I get from proxymity node, to "wrap" object with spiral curve. Unfotunately for some reason it doesnt work 100% right, there are some places where curve just doesn't follow target. Am I doing something wrong? Any ideas how I can fix this setup? Nodes and result

$\endgroup$

1 Answer 1

9
$\begingroup$

You can't specify a direction with The Geometry Proximity node. It will compute the closest geometry element to each vertex.

Here's what happens :

enter image description here

Some vertices are not pulled in the XY plane because the target geometry that is closest to it is higher or lower on the Z axis. Thus the artifacts.

What you can do with the spiral curve, is to use the Raycast node which takes a field direction input. Taking the opposite of the position of the vertex and projecting it on the Z = 0 plane will wrap the spiral correctly.

enter image description here

enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ lovely!!!!!!!!!! $\endgroup$
    – Chris
    Mar 24, 2022 at 15:55
  • 1
    $\begingroup$ Oh, I had a suspicion about proximity, but wasn't able to wrap my mind around it) Your approach is amazing, thank you! $\endgroup$
    – Alex Bryer
    Mar 24, 2022 at 16:05

You must log in to answer this question.

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