0
$\begingroup$

I have geometry nodes to spawn in objects all over my mesh. Currently they rotate with the mesh, so on a sphere they all point outwards, which I want. But I now want them to be rotated around their 7 axis, so they aren't all lined up. If I use an Attribute Randomize node set to rotation then it resets all their rotations, and they are all pointing directly upwards.

How can I make them rotate on their local axis?

$\endgroup$

1 Answer 1

4
$\begingroup$

Use Point Rotate node with setting Point, Z rotation is what you need:

enter image description here

If you want to rotate in a random angle use Attribute Randomize in vector mode, but keep X and Y equals 0:

enter image description here

$\endgroup$

You must log in to answer this question.

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