Notifications
Clear all

[Closed] Link constraint question

Hello Guys,

I’m facing a conundrum via using maxscript to control the position and the rotation of a link constrainted object.

I need to simply align the position and the rotation of a link constrainted object to another object via maxscript but the simple “x.pos = y.pos” is useless because once you have a link constrainted object, the movement of all of it’s parents effect the final transformation of the child and it seems impossible to zero out every parents transformation specially when parents are animated.

is there any way ,method or function to simply align a link constrainted object to another object regardless of it’s parents transformation just like the align tool ?

any suggestion is appreciated!

2 Replies

Target.transform = Source.transform?

This will set the link constrained transform to what you want. We do this with our pose tools, a pose is saved of a control the stored transform is the offset from it’s parent we are able to load the pose onto controls regardless of them being link constrained.

1 Reply
(@arminanim)
Joined: 10 months ago

Posts: 0

Wow Man! that was it! I don’t know how to thank you !! thanks a lot !!!