Everytime that we use Reset XForm, we have problems with linked objects, or even on objects that haven’t link, right? I developed this script that will help you to keep your objects without problems, reseting the pivot where it always should be, even though they’re linked to other object.
What this script does?
Basically, this script does the unlink, recording their hierarchy, applies the Reset XForm in each selected object and keeps the original pivot, after that, it collapses the object to Editable Poly and makes the links again, maintaining their original hierarchy.
Usually this process takes some time, and when objects have linked this process is ever more exhausting. This script is used a lot in my workflow and now I am providing to you.
Sometimes you can get away with selecting your objects and using the bone tools window. Turn them to bones, reset the scale and stretch, then turn them back to regular objects. Doesn’t always work but its good for 80% of the time
@animation109: thanks for the comment. yeah, it’s works too, but not 100% as you said. This script was the best way that I found to do this process more fast, really works for me, all the time.
I’m interested in looking at your script … but you have placed the hm_stretchbones.ms in the mzp file. I’m assuming this is a different script than you intended?
So, if you want to see the source code, you just open the .mzp filw with winRar or WinZip, there has 2 files, one .ms and .run, unzip the .ms and you can see the file into 3ds max.
the .mzp file is just to run in 3ds max and the .run copy and past to 3ds max directory.