# Mirroring Control Curves

 12 December 2012 gagex2z PRO portfolio gagex2z Tampa, USA Mirroring Control Curves This might be a pretty simple and redundant thing to ask at a forum on this level, but I figured I would post it up. I'm posting both to showcase the tutorial as well as ask if anyone sees any problem with my workflow. This is a tutorial on how to create mirrored control curves on the opposite side of your rig while maintaining mirrored behavior. I have found few tutorials addressing this simple requirement that I'm sure plenty of other artists such as myself have struggled with. The ones that I have found did not address a way to keep the mirrored behavior when doing so. This is an approach that I developed from experimenting and Forum browsing. I have found it to be pretty stable and I thought that it might be really useful for beginning TD's and animators. Please let me know what you think. As always, if there are any advanced TD or riggers that see a problem with my method or know of an even better way to set this up, please let me know. I am always grateful for critique and any help I can receive. http://www.youtube.com/watch?v=7bzT...eature=youtu.be share quote
 12 December 2012 khuda Frequenter portfolio puneet delhi, India script //MRT - mirror object(s). //Find seleection... string \$mirSel[] = `ls -sl`; //Make sure objects are selected... if (size(\$mirSel) == 0){ warning "Select the object(s) to mirror!"; } else { //Duplicate object(s)... duplicate -rr; //Group object(s) and place the pivot of the group at the origin... string \$wGrp = `group`; xform -os -piv 0 0 0; //Mirror the objects by scaling the group -1 in the X axis... setAttr (\$wGrp + ".sx") -1; //Ungroup object(s)... select \$wGrp; ungroup; //Freeze the transformations of the object(s)... makeIdentity -apply true -t 1 -r 1 -s 1 -n 0; } share quote
 12 December 2012 gagex2z PRO portfolio gagex2z Tampa, USA Thanks for the script. I can read some of it lol.. What line grabs the bones behavior orientation and adds it to the controls? Originally Posted by khuda: //MRT - mirror object(s). //Find seleection... string \$mirSel[] = `ls -sl`; //Make sure objects are selected... if (size(\$mirSel) == 0){ warning "Select the object(s) to mirror!"; } else { //Duplicate object(s)... duplicate -rr; //Group object(s) and place the pivot of the group at the origin... string \$wGrp = `group`; xform -os -piv 0 0 0; //Mirror the objects by scaling the group -1 in the X axis... setAttr (\$wGrp + ".sx") -1; //Ungroup object(s)... select \$wGrp; ungroup; //Freeze the transformations of the object(s)... makeIdentity -apply true -t 1 -r 1 -s 1 -n 0; } share quote
 12 December 2012 CGTalk Moderation Expert Thread automatically closed This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum. __________________ CGTalk Policy/Legalities Note that as CGTalk Members, you agree to the terms and conditions of using this website. share quote

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off CGSociety Society of Digital Artists www.cgsociety.org Powered by vBulletinCopyright ©2000 - 2006, Jelsoft Enterprises Ltd.