[Closed] Reset Object
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.
Download: http://www.hmelo.com/scripts/resetobject/resetobject.html
we had similar problem in our game engine,
what we did was to attach the object to a box primitive, then just delete the box faces afterwards.
we obviously kept any lookat’s and so on, works like a charm for us here.
unfortunately I cannot post the code since it’s part of our inhouse tools, but you can try it manually, to see if it helps you, and then get started on automating it.
Hi DenisT,
i understand stigatle. He mean sometime can you use a ResetXFrom Modifier, but the Pivot is not Reset. The Workflow from stigatle work evertim 100% and you have reset the Pivot. Bevor you do that, bring the wrong Object in the center of the box.
mfg
hot chip
guys are you kidding? i exactly know how to reset xform. i can reset object’s xrorm without unlinking it or changing its current position. i just wanted to point hmelo that his method doesn’t work for many types of controller (link constraint, position/orientation constraint, lookat, path constraint, etc.).
exactly! My script doesn’t work with any controller, simple links only and all objects without modifiers. I mean, if your object has turbosmooth, morpher, skin or whatever, you’ll loose everything, because my script convert all objects to Editable Poly again.
when you apply a Reset XForm with a tradicional way, the software add a XForm modifiers at the top of your modifiers hierarchy, if you have turbosmooth or any modifiers below “XForm” you will loose anyway, and you must convert the object to Editable Poly. My script does exactly what you will do manually.
ps.: sorry about my english, is not good enough