What is a Choice Node? | How To Use the Choice Node in MAYA
I recently discovered the choice node in Autodesk Maya. I was looking for a way to create a switch. Like a case switch in programming. You can sort of do that with a choice node, but you can only pass one changing value from the node depending on the "selector".
Here's how it works.
Basically your choice node will have a selector, a bunch of inputs, and an output.
For the selector, you want to plug an Enum attribute into that. Enums are essentially lists or arrays, and they start with "0" and not "1".
The choices are [0,1,2,3,4...etc]
You can plug whatever you want into the inputs, and you will notice that they start with "0". Whatever value you plug into the inputs is what the node will OUTPUT when that choice is selected. Then you plug the output into the next thing in your node tree.
It is hard to explain things like choice nodes in writing, which is why I made a video tutorial about it.. haha.
Please let me know if you have any questions!
Have an AWESOME day!
Spencer
• What is a Choice Node? | How To Use the Ch...