View Single Post
  #2  
Old 08-31-2012, 03:34 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The axes in Inspector contains the accumulated transform of the selected node path. You can find the equivalent transform by calling:
Code:
xform = node.getMatrix(viz.ABS_GLOBAL,node='name')
Where name is the name of the selected node in Inspector for which you want to retrieve the axis transform from.

I just noticed that this command won't work if the name refers to a leaf (drawable) node. This will be fixed in the next release though.
Reply With Quote