I'm surprised we don't get variables with geometry nodes

Since geometry nodes are basically visual programming, it surprises me that there is not a convenient way to use variables. I would have been pulling my hair out trying to find all the places where we needed to swap 1.75 with 1.8. Do we know if that is ever going to get added?

1 love
Reply
  • Dwayne Savage(dillenbata3) replied

    Isn't that what named attributes nodes and constant nodes for?

    • 💯
  • Jeremy Baker(metathought) replied

    I kinda think any input node (vector, RGB, value, etc) is essentially a variable. You can change them as needed and use them when and where you want. Like if I had a game that used a  float variable called health, and if it is ever equal to 0, do something (game over). But you can use an float input to check if the z position of a bunch of verts is above or below something, then do something (delete or move). Inputs aren't really supposed to be arbitrary values. They have meaning to what you are doing and what result you want to achieve. 

    • 💯
    1 love
  • Martin Bergwerf replied

    And you can also expose the Variables you make in the Modifier:

    Variable.png

    2 loves