View Single Post
  #1  
Old 10-18-2013, 01:19 AM
mape2k mape2k is offline
Member
 
Join Date: Mar 2013
Posts: 60
Getting position of a group of objects

Hello all,

I am trying to get the position of a group of objects (a tent composed out of small objects) in Vizard. I have read through the Hierarchical model tutorial and all is well, but it only explains how to get positions of single child objects. Here, a handle is grabbed to the object GEODE.
But for a group of object, I cannot create that handle because there is no geode. How can I export the model so that Vizard can grab a handle to the whole object and not just its lowest nodes? Below is an image of the coordinates I got in the Inspector. I need to get the position of the object 'tent' that is composed out of different smaller objects. Ironically, the inspector displays the right coordinates (marked with the red error)! Now I just need to be able to get them with the viz.getPosition() command. Any ideas?


Last edited by mape2k; 10-18-2013 at 01:22 AM.
Reply With Quote