Didn't think of using the plusMinusAverage node but it works! I connected 
the rotation of the Master FK controller to input3D[0] and rotation of the 
FK controllers (not the set groups) to input3D[1] of the 
plusMinusAverage node. I also had to connect the rotation of the FK Master 
controller to the rotation of each set group to make the controllers follow 
correctly.

Thank you for the advice!

On Tuesday, January 15, 2019 at 6:01:57 AM UTC-8, Neil Roche wrote:
>
> The simplest way would be to use a plusMinusAverage node and connect the 
> rotation of the control and the rotation of the set group to the input3D[0] 
> and input3D[1] plugs respectivley, set the operation to sum and then 
> connect the output3D to your joint rotation so both objects will drive the 
> joint.
>
> On Friday, 11 January 2019 02:26:34 UTC, Francesco wrote:
>>
>> Hi everybody!
>>
>> I had a question regarding the python connectAttr command in Maya. 
>>
>> I have created FK controllers that I connected the rotation of to the 
>> rotation of a joint chain through the connectAttr command. The FK 
>> controllers are in a hierarchy where there is a group and a set group above 
>> each controller (something like tail_01_GRP --> tail_01_setGRP --> 
>> tail_01_CNTL --> tail_02_GRP --> etc...). What I'm trying to do is create a 
>> master controller and connect its rotation to the rotation of the setGRPs 
>> through the connectAttr command, so that when I rotate it it rotates all 
>> the controllers keeping the rotation to zero. 
>>
>> The problem is that rotating the setGRPs doesn't rotate the joints 
>> (guessing because the actual controller doesn't have any rotation). How 
>> would I fix that? I know it could be done with orient constraints but I'm 
>> trying to avoid using too many constraints.
>>
>> Thanks!
>>
>> -Francesco
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9c722148-ab28-4834-899a-ddb304f40b97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to