View Single Post
  #13  
Old 12-06-2010, 09:12 AM
blessonisaac blessonisaac is offline
Member
 
Join Date: Sep 2010
Posts: 18
Hi,

Can u help me with this?

I tried to connect Head tracker and Wand at the same time
But my wand does not work. My script is wrong link=viz.link( T,mouse). Can u tell me
the correct script?


import viz
import viz
import viztracker
viz.go(viz.QUAD_BUFFER)
viz.clearcolor(viz.BLUE)
gallery = viz.add('gallery.ive')
view = viz.get(viz.MAIN_VIEWPOINT)
PORT_INTERSENSE = 1
sensor1 = viz.add('intersense.dls')
PORT_INTERSENSE = 2
sensor2 = viz.add('intersense.dls')
S = sensor1
T = sensor2
link=viz.link( S,view)
link=viz.link( T,mouse)
viz.collision(viz.ON)
Reply With Quote