Animation Issue

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?

hm i think it is some thing with the model. But not enough info to answer

Hello,

Are u able to see your animation in pview ??

(to view an animation in pview you must give 2 arguments to pview, the model file name and the animation file name)

Also did you try to remove the fromFrame / End Frame arguments from loop?