If this is in Maya you can query your pivot positions, and then figure out the differences in object transforms vs Scale transforms. xform -q -ws -t pCube.scalePivot Gets the position of the scale Pivot in world space.
I'm doing a script where I need to get transform values such as translation from an object. I've noticed the pivot can be moved around but that won't update the transforms correctly, If I have a cube say and the pivot is at the center, I duplicate the cube and move the pivot to a corner of the cube and rotate it 90 degrees…
Wow you guys responded alot faster then I expected :D Thanks! I forgot to mention that I was using maya and the language was python, I've come up with this long method: cmds.xform('pCube6',cp=True) test = cmds.spaceLocator() cmds.pointConstraint('pCube6',test) cmds.orientConstraint('pCube6',test)…
Tested it with writing the string to clipboard for UDK to paste my maya layout and it works perfectly :) Can manipulate the pivot with the cube mesh getting the correct transforms in engine. Sadly we're not able to use UDK for the project :(