0
$\begingroup$

I have a curve that I'm instancing some xmas light on each vertex. How can I rotate the points so my instances point outwards from the centre of the curve?

instances

And here is my geometry nodes setup

enter image description here

$\endgroup$

2 Answers 2

4
$\begingroup$

You can do it simply like this:

enter image description here

$\endgroup$
3
  • $\begingroup$ hey thanks, that's what i'm trying to do in my node tree above, I want to use the curve i'm starting with, so that I can easily move it around afterwards using its control points. Any idea why it doesn't work in my example? $\endgroup$
    – Neil
    Dec 12, 2021 at 13:31
  • $\begingroup$ Can you share the file? $\endgroup$ Dec 12, 2021 at 13:36
  • 1
    $\begingroup$ I found a way to do this, thanks for your help $\endgroup$
    – Neil
    Dec 12, 2021 at 13:43
2
$\begingroup$

instances

node tree

So I'm not sure if this is the best way, but I'm not sure if you have the same vertex normals when you convert a curve to mesh, so I decided to use the tangent from the circle points, and just add PI/4 to point them outwards.

You could of course just use the normal from the curve to points and add PI/2 if that's your preference.

$\endgroup$

You must log in to answer this question.

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