alignPivot <node> function
first post, with hopefully a simple question:
I can't seem to make alignPivot function work
extract from the help:
"Same as Hierarchy/Pivot/Affect Pivot Only - Align to Object."
the help doesn't provide any example unfortunatly.
I tried to select an object in the scene then type alignPivot $otherObject. It return true, but did not do anything.
My problem is that for this function to work, I need to provide two nodes, the source and the target, but the function signature only has one variable... how to how define the second node?
I can't find any example when I google for it...
Does any one know how to use this function within a script?