I was able to reverse the walk in a simplistic way and it looks ok. Not great, but it will suffice for what we are doing. Thanks for your help, it might come in handy later on. For future reference, here's the code I came up with:
walkTime = 1.1853300333
def walkBackwards():
global walkTime
avatar.setAnimationTime(0,walkTime)
walkTime-=0.01 #change for speed
if walkTime <= 0:
walkTime = 1.1853300333
vizact.ontimer2(0.01,viz.FOREVER,walkBackwards)
|