View Single Post
  #3  
Old 06-08-2010, 02:21 AM
Sven Sven is offline
Member
 
Join Date: Apr 2010
Posts: 12
Hi,

thanks for your answer! However, I think I did the steps shown in the article (those that also should apply for wrl files), and still I only get (0,0,0) for parent and children.
Concerning getting the lowest level transform: according to the properties of the wrl file as shown in Vizard, my handle indeed aims at the lowest level featuring the gear symbol. Further down, only cube- and grid symbols are shown.

This is how I tried to do it:

Code:
track=viz.add('inftytex.wrl')
cue1=track.getChild('OB_cue_card_1_0_0')
cue2=track.getChild('OB_cue_card_2_0_0')
cuePos1=cue1.getPosition(viz.ABS_GLOBAL)
Reply With Quote