View Single Post
  #4  
Old 07-23-2007, 08:07 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Intersection question...

Hi,

I took this example from Punching demo, line 169
Code:
walkTo = enemy.walkto(headPos[0],terrain,headPos[2],vizmat.GetRandom(MIN_SPEED,MAX_SPEED),260,2)
..and the avatar walk on the terrain! Which puzzles me, the second argument "terrain", where did it come from? terrain = viz.add('xxx')?


Kind Regards,
Iwan
Reply With Quote