View Single Post
  #2  
Old 07-12-2010, 04:41 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could get check the position of the marker in Vizard every frame and if the x value is greater than 0.3 you could start the action.
Code:
def checkPosition():
	
	if tracker.getPosition()[0] > 0.3:
		#add some action here

vizact.ontimer(0,checkPosition)
Reply With Quote