![]() |
|
#4
|
|||
|
|||
|
Try using either the node.getTransform command or the node.getChild command with the viz.CHILD_REPLACE_TRANSFORM flag:
Code:
import viz
viz.go()
scene = viz.addChild('scene.osgb')
#Get a linkable for controlling a sub-transform of the node
target = scene.getTransform('Target')
#Create a new Vizard <node3d> object from the underlying scene graph node
#target = scene.getChild('Target',flags=viz.CHILD_REPLACE_TRANSFORM)
print target.getPosition(viz.ABS_GLOBAL)
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to render a texture of the transparent object and then blur it | whj | Vizard | 1 | 09-25-2012 04:15 PM |
| checking object location in an inclosed area of the world | Chapre | Vizard | 2 | 10-08-2010 01:57 AM |
| retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 05:26 AM |
| Gps input for viewpoint location? | realvision | Vizard | 3 | 03-19-2008 01:37 PM |
| rotate to object | jargon | Vizard | 1 | 08-08-2005 01:20 PM |