View Single Post
Old 09-19-2003, 12:13 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

This is due to the fact that objVent is at position (0,0,0) relative to its parent objRoom. I believe this has been fixed in 2.11, which computes the objects position relative to world coordinates by adding all the translations of its parents. For now you could do the following:

# Create a GROUP object which is simply a child object that has no geometry.
vent = viz.add(viz.GROUP)
vent.translate(x,y,z) #place the object at the vents true location
By the way, we should be releasing 2.11 today or Monday, sorry for the delay.
Reply With Quote