View Single Post
  #2  
Old 01-18-2011, 11:57 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
In your last two lines you have:
Code:
viz.link(headlight1, vehicle0)
vehicle0.setPosition(0,0.625,0)
Since vehicle0 takes the position and orientation of headlight1 you won't be able to set the position of vehicle0.
Reply With Quote