View Single Post
  #4  
Old 11-03-2009, 02:53 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Just have Vizard perform the calculation for you:
Code:
curPos = node.getPosition() #Save current position
node.setPosition(desiredPos,viz.ABS_GLOBAL) #Apply desired absolute pos
gotoPos = node.getPosition() #Get computed local pos
node.setPosition(curPos) #Restore position
Reply With Quote