View Single Post
Old 06-29-2004, 04:03 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

I'm assuming you're using a PPT system for tracking? To track two points you simply add the ppt sensor twice. Here's some sample code:
head = viz.add('vizppt.dls')
hand = viz.add('vizppt.dls')

print 'Head position',head.get()[:3]
print 'Hand position',hand.get()[:3]
As long as you don't place the head and hand sensor too close to each other, the ppt system should be able to distinguish between them.
Reply With Quote