View Single Post
  #2  
Old 01-23-2008, 12:30 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You have to use the following code to retrieve the center of a node:
Code:
obj.getCenter()
Also, the center is only used to control the pivot point for rotations of a node.

If you want to translate a glider, then simply use the node.translate() command to position it. I'm not exactly clear on what the problem is. You might need to explain it more clearly or provide some sample code.
Reply With Quote