View Single Post
Old 02-03-2009, 10:34 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,465
the position of the ball is set in its parent coordinate system, the default is viz.ABS_PARENT. So the ball is always [0,1,0] in the group node's coordinate system which is the same as the box. If you try
print ball.getPosition(viz.ABS_GLOBAL)
you'll see its position is not [0,1,0] in the global coordinate system
Reply With Quote