Notifications
Clear all
[Closed] matching transforms
Dec 17, 2008 9: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.
3 Replies
Dec 17, 2008 9:28 pm
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
Dec 17, 2008 9:28 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
Dec 17, 2008 9:28 pm
$a.pos.x = $a.pos.x
$a.pos.controller[1].value = $b.pos.controller[1].value