Notifications
Clear all
[Closed] Copy pivot from an xform modifier
Apr 08, 2015 7:42 am
Hey guys. I’m trying to copy the pivot of my selection, I want to return the pivot regardless of the selection being a component selection (verts/edges/faces) or an object selection.
I’ve found that if I add an XForm modifier on my selection, and I click “Center” on the modifier, this is the pivot I want to copy. However, when I try to query the center value it always returns [0,0,0]. I was wondering if anyone could tell me how I could query the worldspace position of the xform modifiers center?
–This will always return [0,0,0]
addModifier $(xform ())
$.modifiers[#XForm].Center
1 Reply