View Single Post
  #3  
Old 02-03-2009, 02:22 AM
Sandro Holzer Sandro Holzer is offline
Member
 
Join Date: Jul 2008
Posts: 19
Thank You Jeff

I just have one more problem with this code.
In the line:

Code:
ball = viz.add('ball.wrl',parent=group,pos=[0,1,0])
the position of the ball is in world coordinates,
I would need to give this position in relation to the box.
In my real code, there are a lot of bodies, all connected in something like a chain.
So if I have to calculate all the initial positions in world coordinates it would be a lot of work.
With the line
Code:
body2 = body1.add('body2.obj')
in my original code all this work is done by Vizard. (but visibility does not work the way I want)

Do you have an idea how to do this?
Sandro
Reply With Quote