5
$\begingroup$

I would like to do something like this: randomly rotate points, place object instances, move points to new positions by a set amount BUT in the direction of current rotation, (and then repeat).

But I can't figure math needed to rotate the translation I want to perform.

Any idea how I can rotate translation (0.3m up along z-axis) using rotation information from points?

There is no Rotate Vector node in geometry nodes btw...

enter image description here

$\endgroup$

1 Answer 1

3
$\begingroup$

Finally, I can answer the question.

You need 3.0 to achieve this task. In Fields, there is a Local space setting in Translate instances node:

enter image description here

Old answer. New node Attribute Vector Rotate can generate direction from rotation:

enter image description here

$\endgroup$
5
  • $\begingroup$ Long awaited. I would rather work with Fields, but atm 'Point' menu items are being gradually introduced for operation with the new framework? So I'm hanging back for a while. $\endgroup$
    – Robin Betts
    Sep 28, 2021 at 9:19
  • $\begingroup$ Well, it is too early to make solutions using fields, let's wait 3.0 release $\endgroup$
    – Crantisz
    Sep 28, 2021 at 9:22
  • 1
    $\begingroup$ @RobinBetts Small update for fields in answer $\endgroup$
    – Crantisz
    Nov 22, 2021 at 20:36
  • $\begingroup$ @Great stuff! I should update my old answers, too.. $\endgroup$
    – Robin Betts
    Nov 22, 2021 at 20:44
  • 1
    $\begingroup$ @RobinBetts btw, old nodes "Vector Rotate" and "Align Euler to Vector" has been returned! $\endgroup$
    – Crantisz
    Nov 22, 2021 at 20:48

You must log in to answer this question.

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