View Single Post
  #2  
Old 08-28-2009, 02:57 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can use On-The-Fly objects to draw lines. So if you know the beginning and ending point of the balls path, then you could use the following code:
Code:
viz.startlayer(viz.LINES)
viz.vertex(beginPoint)
viz.vertex(endPoint)
line = viz.endlayer()
Reply With Quote