TLWR: How do I randomize any value in Geometry Nodes (Blender 3.0)

Some versions before the Geometry Nodes fields update there was a node labeled "Attribute Randomize" which randomized whichever value. But now in 3.0 that node isn't there anymore, and trying to randomize a value with the "Random Value" node results in an incompatible socket connection (the connection to the Transform node turns red). screenshot of my current problem

For context, I'm trying to randomize rotation on some instanced points. I've tried finding a way to do it but no tutorial seems to go over those changes.


Unfortunately, the Transform node doesn't support fields as inputs, only normal vectors. However, you can use this simple node group to transform objects based on fields: enter image description here Which then supports the output of the Random Value node. enter image description here For transforming individual instances, you can use the Scale Instances, Rotate Instances or Translate Instances nodes, which can easily be built into this node group: enter image description here


How about to use Translate Instances node? I added the node after a Instance on Points node, and connected a Random Value node to Translation of the Translate Instance node.

For more details, please see following figure. Example of Translate Instances node ( Input mesh is a cube with 8 vertices. )


I found the other method that is to add Set Position node before Instance on Points node, and a Random Value node connects to Offset of the Set Position node.

A method of using Set Position node ( Input mesh is a cube of 8 vertices. )

I think this method is suited for many manipulations. For example, the method is easy to change point's Z-axis value according to input mesh's positions with sine function.

Other manipulation ( Input mesh is a plane, and added a modifier of Subdivision (Setting to simple and Levels Viewport is 4. )

Inspired by Youtube Video 1 and Youtube Video 2

  • $\begingroup$ As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center. $\endgroup$
    – Community Bot
    Jan 4 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.