|
#1
|
|||
|
|||
Avatar always return in initial position
Thanks for your info. It actually helped me find a shorter and simpler solution.
Here it is: avatar = viz.add('male.cfg') avatar.translate(0,1,4) mainview = viz.MainView viewPosition = mainview.getPosition() walk = vizact.walkto(viewPosition[0],viewPosition[1]-1,viewPosition[2]+6) avatar.add(walk) ## This is the interesting code here avatar.execute(10,delay_in=avatar.getduration(10)-.85,freeze=1) I hope it can be useful Patrick |
|
|