Hi,
I create a simple scene in 3DSM, export as either WRL or IVE format. All the scene contains is a plane, a few boxes and a sphere.
All 3 shape objects are positioned away from the origin. When i try and get access to one of the shapes:
Code:
scene = viz.add(scene.ive')
scene.disable(viz.LIGHTING,'')
sphere = scene.getChild('Sphere01')
print "sphere pos: ", sphere.getPosition(viz.ABS_GLOBAL)
I've tried printing the positions of all other objects too and also tried using viz.REL_PARENT, viz.ABS_PARENT etc which also return [0,0,0]
Any reason why this is happening please?
Thanks,
DB