View Single Post
  #5  
Old 06-22-2009, 04:21 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Using a timer and joy.isButtonDown should work. Have you tried something like this.
Code:
def checkButtons():
	if joy.isButtonDown(1):
		IncrementAngle(0.1)
	if joy.isButtonDown(2):
		IncrementAngle(-0.1)
	
vizact.ontimer(0,checkButtons)
Reply With Quote