sirius-utility-nodes icon indicating copy to clipboard operation
sirius-utility-nodes copied to clipboard

Feature: Dynamic input arithmetic nodes

Open JasperDeLaat94 opened this issue 2 years ago • 2 comments

Simple arithmetic nodes, but with dynamic amount of inputs.

JasperDeLaat94 avatar May 24 '22 21:05 JasperDeLaat94

Wouldn't this just be re-creating the built-in Math Expression node? Collapsing into a single node is nice and all, but not sure it's worth the effort TBH :)

image

image

sk0g avatar Jul 21 '22 11:07 sk0g

I think it has it's purpose, this node (collection) should be seen as the simple arithmetic nodes (e.g. int + int) on steroids (basically similar to the int + int node with a '+' button to add a third, fourth, etc. value).

Why I see this has it's purpose over Math Expression is that (personally, I think that) there are a couple of things unwieldy about Math Expression, like that you have to dive into the details to change the type of a generated parameter if it's not a Float type.

So basically, what I hope to achieve with this (set of) nodes, is something that works as quickly as just putting down a simple arithmetic node, yet be more powerful in that you can add more values to them (e.g. add 3, 4, etc. values together). I do agree with you that for more complex arithmetic (like the example you've shown containing multiple arithmetic types), Math Expression remains the best option. :)

One thing I am curious to figure out here is if we can use the Wildcard type instead of having explicit nodes (like Unreal has int + int, float + vector etc.). That's a nice to have, though; It might open a can of worms or become unwieldy.

JasperDeLaat94 avatar Jul 21 '22 18:07 JasperDeLaat94