Thread: Object Actions
View Single Post
  #4  
Old 04-04-2014, 03:35 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can get the hand model from the script that imports viztracker using the following code:
Code:
import viztracker
hand = viztracker.get('righthand')
Or if you want to use your own model instead you could try commenting out the createRightHand method and linking your model directly to the tracker inside the viztracker file:
Code:
composite.storeTracker( composite.RHAND, handTracker )
viz.link(handTracker,handModel)
If you're planning to upgrade to Vizard 5, the next Beta with vizconnect will have features (e.g. grabber tool) that will make these types of tasks much easier.
Reply With Quote