Hi, I’ve run into a slight snag on a project I could use some advice on.
I want to instance some objects on points with random rotations. I then want to loop over each object in a repeat zone. In each iteration of the repeat zone I want to create a curve circle and copy the original random rotations to each of these curve circles.
I cant seem to capture the rotations and use them within the loop as the attribute is a field and the transform node doesn’t accept this data type. What is the best solution for this kind of situation?
Any help is greatly appreciated!
Hi Nicholas, there are dedicated nodes for transforming instances that you should use instead : rotate instances, scale instances, etc.
That being said it sounds a bit convoluted, are you sure you need to go through a repeat zone to do that ? you should be able to just “sample index” the instance rotations.
Agreed… why are you using Repeat Zone???
You can just re-use the points or Instances to Points (the switch in my example shows that branching off points is equivalent to using Instances to Points in this case).
Since Rotations are initialized with normal 3D vectors, you can store those and re-use them however…
… and if you really want to there are always the rotation conversion nodes.
Good luck.
Thanks for your replies.
Apologies for the confusion. I was dumbing down my network a lot. The repeat zone was an integral part of something bigger within my setup.
I found that using an “Instance Rotation” node allowed me to sample and alter the rotation of the instances within the repeat zone without needing to use a transform node.
