![]() |
|
|
|
#1
|
|||
|
|||
|
<node3d>.getPosition() returns [0,0,0] all the time...
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)
Any reason why this is happening please? Thanks, DB |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| timer question | Elittdogg | Vizard | 5 | 10-10-2007 03:49 PM |
| Two animations performed by avatar at the same time | michelcm3 | Vizard | 1 | 09-21-2007 10:51 AM |
| Printing of System Time | Uttama_vizard | Precision Position Tracker (PPT) | 2 | 09-19-2007 03:38 PM |
| Avatar always returns in initial position | pattie | Vizard | 2 | 08-31-2006 09:15 PM |
| Run Time Crash | enkeli | Vizard | 4 | 03-08-2006 03:36 PM |