Deborah R. Fowler
Wrangle Node
Example - Random Rotate
Posted on May 22 2018
Random rotate: hipnc available
You can randomly rotate packed objects by adding a Normal (N) or orient (orient) attribute to your points using a point wrangle node.
Manipulating normals (@N.y is assumed to be 0). The two statements below are selecting a random value.
The first is taking the number which ranges from 0 to 1 and multiplying by 2 then subtracting one to give you a range between -1 and 1.
The second achieves the same purpose using the fit01 function.
The multiplication of the @ptnum is simply changing the seed value.
and additionally setting the orient attribute
Remember that you have test geometry available. Type test in the tab menu. Below they are at default size.