[Closed] Transform Node, by Helper, to another Helper?
Hello!
I’m trying to figure out how to Transform a Node, by another objects Transform, to ANOTHER Objects Transform.
Basically, replicating how Parent/Child Align works. So if I would make a Point Helper, set that as a Parent to a Box, then Align the Point to another Point/Object.
I cannot change Parent/Child relationships, as it breaks things at work. So now I’m trying to think of how to replicate that functionality…
Thank you!
Edit:
I randomly found this post, and tried changing some things to match my scene, and it seems like it works…! :bounce: But, I’ll do more testing to be sure…
http://forums.cgsociety.org/showthread.php?p=7368259#post7368259
Container002OffsetTm = $Container002.transform * inverse $Point001.transform
$Container002.transform = Container002OffsetTm * $Point002.transform
you can use link constraint or combination position and orientation constraints.
Ah yes… Yeah, that is another option. :buttrock:
I could do that as well. The cleaner the method, the better though. Unless that’s a better way to do it.
I wrote a little script, to let the user re-align objects, using temp point helpers, mainly if your Xforms/Pivots are goofy, and you cannot re-align properly otherwise.
So the user starts the tool, with an object selected, 1st object selected is the Source Object.
Then you click 2 times to create a Point Helper/build the rotation, then 2 more times for a 2nd Helper, with Snapping on.
Then I use the 1st point helper, to Offset/Rotate the Source Mesh, to the Target(2nd Helper).