I was just wondering if such a node exists. I’m looking for a node that allows any number of double3 inputs with a selector to choose which input to pass through to the output. The ‘choice’ node does not take double3’s as an input (it does, but scrambles the output; I’m guessing it expects a different type of data as an input).
I am trying to switch between stored offsets for point and orient constraints. The constraint tool I am writing will only allow one driver at a time. Maya stores only one offset value for these constraint types and I am trying to give the animators the ability to switch between multiple drivers and dynamically switch the offset value depending on which constraint target is active.
My idea was to store the offsets on custom attributes on some node and directly plug those into some ‘switcher’ type node that can choose which input to pass through depending on which constraint target weight index is active. I would have an int or enum attr added to the passenger/driven object to select which driver is active which could be keyed by the animator and would be directly connected to the selector of the ‘switcher’ node.
Any thoughts? Am I in custom node territory? Better ideas?
Thanks.