View Single Post
  #1  
Old 10-08-2013, 08:25 AM
fabioped fabioped is offline
Member
 
Join Date: Feb 2013
Posts: 21
Question Child node coordinates

I have this sample 3ds file with 4 objects:
https://dl.dropboxusercontent.com/u/178438/teste.3ds

How can I see the relative coordinates of these objects?

From this:

def update(a):
p = viz.pick(info=True)
print p.object.getPosition(viz.ABS_GLOBAL)

viz.callback(viz.UPDATE_EVENT, update)

I always see [0,0,0]

using viz.REL_GLOBAL I see the same.
Reply With Quote