如何在世界空间中获取对象的枢轴点?

 
 
 

使用 getAttr 命令。例如:

getAttr ball.scalePivot;
// Result: 7.099792 7.984488 -4.93999 //
getAttr ball.rotatePivot;
// Result: 7.099792 7.984488 -4.93999 //