variator going south

you need to know what animations your model has and then check for events as jumping/falling/walking etc and play your animation then.