I’m trying to play a simple walk animation:
nodePath = Actor.Actor()
nodePath.loadModel(‘media/hexman3.egg’)
nodePath.loadAnims({‘walk’:‘media/hexman3-walkcycle.egg’})
nodePath.loop(‘walk’,fromFrame=1,toFrame=21)
nodePath.reparentTo(render)
There are no error messages, but the actor doesn’t animate. Have I skipped a step?