View Single Post
  #2  
Old 06-20-2008, 07:17 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Try replacing the following lines:
Code:
link.setPos(targets['home']['position'])
link.setEuler(targets['home']['rotation'])
with:
Code:
link.setOffset(targets['home']['position'])
link.postEuler(targets['home']['rotation'],target=viz.LINK_ORI_OP)
The setPos and setEuler operators will overwrite the source data with the specified value. The setOffset and postEuler operators will offset the source data instead.
Reply With Quote