Itoo Software Forum

Author Topic: help with an expression  (Read 189 times)

IT1371

  • Full Member
  • ***
  • Posts: 160
help with an expression
« on: February 11, 2020, 12:27:40 PM »
I need help building a rather simple condition, I just don't know the rules of writing one.
Basically
if input1>input2 - don't generate geometry in that segment.
if input1<input2 - do generate geometry in that segment.

can someone help me put?

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2520
    • iToo
Re: help with an expression
« Reply #1 on: February 11, 2020, 03:16:26 PM »
Quote
return if(Input1<Input2,1,2);
This should be wired to selector Node, which has Input1 as Your segment and Input2 as empty segment

Rokas
iToo Software