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 > -- *MILK <http://www.milk-vfx.com/>** VISUAL EFFECTS** * Threeways House, 40-44 Clipstone Street London, W1W 5DW Tel: *+44 (0)20 3697 8448* * * This message is intended solely for the addressee and may contain confidential and/or legally privileged information. Any use, disclosure or reproduction without the sender’s explicit consent is unauthorized and may be unlawful. If you have received this message in error, please notify Milk VFX immediately and permanently delete it. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Milk VFX. By engaging in professional correspondence with Milk VFX, we may store your contact information for future reference. This is in line with Milk’s Privacy policy which can be found here. <http://www.milk-vfx.com/wp-content/uploads/2018/05/Milk-VFX-Privacy-Policy-May-2018.pdf> Milk Visual Effects is a registered limited company: 0844 1256. The registered company address is Threeways House, 40-44 Clipstone Street, London, W1W 5DW. -- 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/718de4dd-ac5f-4d11-a1d9-c77257bcb0d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.