3
$\begingroup$

How to connect both nodes?

Hello, I don't understand why connecting the random value output and any of the grey inputs on the right doesn't match. What do I need to add? Thanks!

$\endgroup$
2
  • 1
    $\begingroup$ The round inputs/outputs is „kind of“ only one value, but the rhombus show that these are more values. That’s why you cannot connect them. $\endgroup$
    – Chris
    Commented Jan 16, 2022 at 20:13
  • $\begingroup$ What do you want the random value for? GN 3.0 doesn't really have a way to generate a single random float. $\endgroup$ Commented Jan 16, 2022 at 20:35

1 Answer 1

10
$\begingroup$

The way this seems to normally be done is to drive the Random Value's ID socket with an integer. This changes the Value output socket to output a single value:

Using an integer to drive the Random Value

One of the not-well-documented features of 3.0 Geometry Nodes is that some nodes output type depends on their inputs. In this case, an 'ordinary' ID would lead to a field output (the diamond shape) but forcing an int into the ID socket changes the output type to a single float value.

$\endgroup$

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