WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 12-06-2016, 12:39 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC