I was just wondering, what actual part of this script tells it to move the pivot to the lowest point? I was trying to make a similar script to do all of this but the only thing I can't seem to do is get the pivot to move to the most bottom point of an object..
A while back I wrote a simple script that does most of what you need. You could tack in the few extra things you need and call it done =) macroScript ToWorldZerocategory:"VigTools"toolTip:"To World Zero"buttonText:"Zero"(--Sets the pivot to the lowest point in a mesh, then center the object to world zeroif $ != undefined…
CenterPivot $; (--Sets the pivot to the lowest point in a mesh, then center the object to world zero if $ != undefined then ( ResetPivot $ CenterPivot $ for i in selection do ( i.pivot = [i.pivot.x, i.pivot.y, i.min.z] ) $.pos = [0,0,0] ) else ( messageBox "Select an object then run this script again." title:"Selection…
I have a process which i really want to automate as its a fair few clicks and i do it everyday when exporting models into our engine from max: The process is this: center pivot to the object, move the pivot down to the base of the model move the object to 0,0,0 so its on the origin (this sould mean the base of the object…