View Full Version : matching transforms
furystylee 12-17-2008, 08:28 PM Through maxscript, how can I have one object's specific transformations match another?
For example if object A is translated on X, I'd like object B to match the same translation.
Thanks.
|
|
I'm not very clear on what you exactly want, but you can easily copy a transform from 1 object to another with for example obj1.transform = obj2.transform.. but I have the feeling this is not what you mean...?
-Johan
furystylee
12-17-2008, 09:26 PM
Yes that's the concept I'm looking for.
Does maxscript have extensions for transforms (like MEL script has ".tx" ".rz" etc)?
I guess I'm looking for the exact maxscript syntax like maybe:
$boxB.rx = $boxA.rx
Thanks
$a.pos.x = $a.pos.x
$a.pos.controller[1].value = $b.pos.controller[1].value
CGTalk Moderation
12-17-2008, 10:06 PM
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-2012, Jelsoft Enterprises Ltd.