Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi-
I would like to center the pivot of an object via python script. It would be the equivalent of the "Move to Object Center" buttons in the Transform Window.
I know I can use this command to set the Rotation pivot manually:
setTransformNodeRotatePivot(node, x, y, z, worldSpace)
But I want the pivot at the object's center. So I'm looking for a different command, something like setTransformNodeRotatePivotCenter(node)
or I need to get the x,y,z values of the object's center first and transfer them via variables.
I am not aware of either option.
Thanks for any help!
Solved! Go to Solution.