Author Topic: A switch node for functions?  (Read 932 times)

A switch node to use in function creation would be nice.

^^

You can already switch in a function using an "if/else" test with a boolean for example.
Maybe you had another thing/way to do it in mind?
Lead technical artist
gaetan.lassagne@allegorithmic.com

A switch in programming can select from many cases.

https://msdn.microsoft.com/en-us/library/06tc147t.aspx

^^

Thanks for the feedback, indeed have it as a default node would be a good addition to what we currently have. I've talked about it with some people here, it should be doable (but no ETA).

I did it using existing nodes, it will not be as optimized as if it were done at low level but can be helpful.
Here here the download link, hope it helps :
https://share.allegorithmic.com/libraries/821

Edit : download updated

Cheers
Last Edit: November 06, 2015, 06:35:34 pm
Lead technical artist
gaetan.lassagne@allegorithmic.com

Cool, thanks for sharing that.

^^