![]() |
|
#6
|
|||
|
|||
|
Hi,
That's correct. If you want the avatar to walk endlessly then you would place the walk action inside a sequence and have it repeat forever. Here is what the code would look like: Code:
#Create a walk action that will randomly select a location between (-5,-5) and (5,5) WalkForever = vizact.sequence(vizact.walkto(vizact.randfloat(-5,5),0,vizact.randfloat(-5,5)),viz.FOREVER) #Add walk action to avatar avatar.add(WalkForever) |
|
|