View Single Post
  #2  
Old 02-06-2009, 11:20 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
If you right click on your scene node in the Vizard resources window and select properties, then expand the VIZARD_NODE you'll see your Sphere01 child. Expand that and you will see 'Sphere01-GEODE', which is what you want to use.
Code:
sphere = scene.getChild('Sphere01-GEODE')
print "sphere pos: ", sphere.getPosition(viz.ABS_GLOBAL)
Reply With Quote