Hi there,
I‘m struggeling with an array on a curve. The elements do not exactly align to the curve. On corners and end points happen strange things.
I tried to split the curve into segments that have the same length as the elements. And align straight to the segments‘ tangent.
But it didn‘t work.
The Blender file you can download here: https://magentacloud.de/s/DD65CapPKN5iEwp
Can anybody give me a hint how to?
Thanks a lot in advance,
Lutz
Hi Lutz,
the reason why the walls are oriented like this is because there is some weird stuff going on with that curve:
What you want to do is to resample the curve (which will hopefully hide these areas) and then find the direction from one point of the curve to the previous/next point. You then want to align the instances to this vector like so:
3 Likes
Hi Zebrahead,
thank you so much! Works perfectly. I wasn’t aware that the curve turned into strange angles when I edited it. And the necessary GeoNode set up I think I wouldn’t have acheived in months.
Have a nice day,
Lutz
1 Like