Thread: Move Objects
View Single Post
  #5  
Old 01-06-2005, 01:34 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Found it, the error was at the line
y=y0+i*0,03
(Accidently a comma slipt in)


Short question to hierarchical Objects - guess (as I tried) this is not possible:

Say I want an object to move with it's shadow.

ball = viz.add('../resources/models/ball.wrl')
shadow = viz.add('../resources/models/shadow.wrl')
shadow.translate(0, 1, 0, viz.RELATIVE)
shadow.alpha(0.7)

shadowBall=ball.add(shadow)
Reply With Quote