Thread: Move Objects
View Single Post
  #6  
Old 01-06-2005, 02:34 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

To attach the shadow to the ball you would do the following:
Code:
ball = viz.add('ball.wrl')
shadow = ball.add('shadow.wrl')
or you can leave it the way you have it but change the last line to the following:
Code:
shadow.parent(ball)
Reply With Quote