View Full Version : How to match the pivot?
chandro 02-22-2008, 06:59 PM ive tried using the mel script in highend
http://www.highend3d.com/maya/downloads/mel_scripts/modeling/misc/pivotMatcher-2672.html
it does match the pivot location but not orientation
is there a newer script like this?
|
|
BenBarker
02-22-2008, 09:38 PM
In python I use:
import maya.cmds as mCmds
mCmds.xform("Object", ws = True , m = (mCmds.xform("Target" , q = True, ws = True, m = True))
You can do the same thing in MEL, with a few more lines.
chandro
02-23-2008, 03:21 AM
Thanks BenBarker, how does his script work? im really a newbie :-)
CGTalk Moderation
02-23-2008, 03:21 AM
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.