Hello,
I am having some big problems with avatar animations. So here an example of something I can not get to work. I want an avatar, to fall dead, lay down for 2 seconds and then stand up again. Here my attempt:
Code:
import viz
viz.go()
man = viz.add('male.cfg')
def onKeyUp(key):
if key == ' ':
man.addAction(vizact.animation(7, freeze = True))
man.addAction(vizact.waittime(2))
man.addAction(vizact.animation(1))
viz.callback(viz.KEYUP_EVENT,onKeyUp)
And this doesn't work at all. How should I do it?
Greetings, Joran.