Saturday, August 25, 2012

Maya A/B transform match script


Every studio that I've been at has some sort of "match object A to B" tool that simply snaps A to B. I thought it was some sort of wizardry (and a shame on Maya for not having that tool). Then I heard about the point/orient constraint create then delete method.
Well the magic trick has been unveiled....
All you need to do is create a

delete `parentConstraint`;

button on your shelf and that's you A/B matcher. select object 1, shift select object 2 run your delete `parentConstraint`; and boom it does the whole thing for you. Love the simplicity.