3
$\begingroup$

I would like to achieve a function that can rotate and duplicate a specified number of objects around a certain reference axis. However, I am encountering an unsolvable problem with regards to how to implement the relative rotation of an object by a specific angle based on the rotational reference axis. Please help me out. Thank you everyone!

In the following image, the object positioned behind is the correct result that I desire. enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ Is this what you're after? If so, I'll make an answer out of it. $\endgroup$
    – Robin Betts
    Jan 17 at 18:24
  • $\begingroup$ Yes, that's absolutely correct! Thank you very much indeed! $\endgroup$
    – levosaber
    Jan 17 at 19:35

1 Answer 1

4
$\begingroup$

I think we can be lazy and avoid doing the maths ourselves.. what seems to be required is a bit of plumbing to adapt between the Euler representation of rotations (blue, vector type sockets) and the internal representation (magenta sockets), which I believe is Quaternion. Then we can use some Utility > Rotation nodes as follows:

enter image description here

You may want the group to modify its own input geometry, and/or decide whether to use 'Original' pr 'Relative' instance imports, for variations on this behaviour:

enter image description here

$\endgroup$

You must log in to answer this question.

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