![]()  | 
	
| 
	 | 
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				"walkTo"
			 
			
			
			Hi,  
		
		
		
		
		
		
		
		
	
	I want my avatar goes to the point, which I locate. I try it with the command "walkTo" but it does not work. Can somebody help me? How I send avatar to set point and then to the next point? Code: 
	import viz
viz.MainView.setPosition([-20,3,-20])
ground=viz.add('tut_ground.wrl')
avatar=viz.add('male.cfg')
avatar.setPosition([-20,0,-10])
avatar.setEuler([60,0,0])
avatar.state(2)
walk = vizact.walkTo(-19,0,-9)
avatar.addAction(walk)
viz.go()
 | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			The walkTo function takes an array as argument. [x,y,z] 
		
		
		
		
		
		
		
		
	
	The walkto function takes x,y,z as argument (mind the 't' and 'T') Also don't forget to import vizact.  
		 | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Already. it works. 
		
		
		
		
		
		
		
		
	
	Thank you very much  
		 | 
![]()  | 
	
	
| Thread Tools | |
| Display Modes | Rate This Thread | 
		
  | 
	
		
  |