View Single Post
  #1  
Old 09-27-2005, 03:16 PM
Vmichaeljin Vmichaeljin is offline
Member
 
Join Date: Sep 2005
Posts: 6
Virtual arrow with multiple tracking lights

I'm trying to represent a virtual arrow by using two PPT lights.

I linked one light to the arrow object to handle translation. Then I had the arrow object "lookat" the second light. While translation seems correct, orientation is off. I would appreciate some assistance.

My relevant code:

wand = viz.add('rod.wrl')
wand.link(pptLight2)

---------

data3 = pptLight3.get()
wand.lookat(data3)
Reply With Quote