![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				Laser Pointer Updated
			 
			Code: 
	import viz	
viz.go()
Height = viz.input('Height?')
print "Participant's height is", Height, "inches."
Meters = (Height * (1.0/39.37)) 
print "Participant's height is", Meters, "meters."
RedDot = viz.add(viz.TEXT3D, '.', viz.SCREEN)
RedDot.translate(0.5, 0.57, 0)
RedDot.alignment(viz.TEXT_CENTER_CENTER)
RedDot.color(1,0,0)	# Red
#RedDot.scale(.5, .5, .5)
Ok...so here's my "deal." The RedDotis supposed to mimic the laser pointer (which is going to be positioned on top of a person's head. So I was trying to come up with a way to input how tall the person is, convert it to meters (if necessary), and then use that height to position the RedDot. So instead of RedDot.translate(0.5, 0.57, 0) I want: RedDot.translate(0.5, Meters, 0) That way I can customize the height of the laser pointer in Vizard to each individual's personal height.  | 
		
  | 
	
		
  |