0
$\begingroup$

I have a bunch of "Crosses" that I am attempting to point to the center of the object that holds the geometry node (so (0,0)) which is just a smile equation of (Tan(y/x)) but for some reason I can't get the points to rotate, making me think that I have done the attribute node wrong.

this is the simple attribute node group that is (supposed to be) doing the math: enter image description here

but for some reason, the points don't seem to change rotation. enter image description here

$\endgroup$
2
  • $\begingroup$ i am not sure whether i got you right....so if my answer doesn't help...you should definitely improve your question, so that is is clear, what you want (a pic with what you want to have would help a lot) $\endgroup$
    – Chris
    Jun 17, 2021 at 12:24
  • 1
    $\begingroup$ The result of tangent is not going to produce an angle. Instead use arctangent in python would use atan2(y, x) which allows for x = 0. stackoverflow.com/questions/35749246/… ie what angle produces that tangent. $\endgroup$
    – batFINGER
    Jun 17, 2021 at 13:20

1 Answer 1

1
$\begingroup$

If you have an object (in my case a cube) and you have point instances (in my case a cone) you can align them with this node group:

enter image description here

result:

enter image description here

$\endgroup$
3
  • 1
    $\begingroup$ ...I don't even want to know how many Geometry Nodes corpses are lying around here on BSE, just because all the people don't want to bother to mark an answer as solved. Always take, never give. It's really tedious sometimes. Thanks Chris, that you still stay so eager and unwaveringly bring such great answers! ...so despite outdated question/answer: +1 ;-) $\endgroup$
    – quellenform
    Sep 4, 2022 at 19:42
  • 1
    $\begingroup$ I might be the one on BLENDER SE with the most not accepted answers….😉😅 $\endgroup$
    – Chris
    Sep 4, 2022 at 20:14
  • 1
    $\begingroup$ That could actually be the case. In any case, you have my respect! $\endgroup$
    – quellenform
    Sep 4, 2022 at 20:18

You must log in to answer this question.

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