Hi, i just finished the tutorial http://www.jmonkeyengine.com/wiki/doku.php?id=blenderjme_anim_tutorial about exporting animation to jmonkey engine… the problems is because when I use the Modeler used in the tutorial I can play my animation correctly, but whenever i export using the code showed on the end of the page my character doesnt move at all… I tried to change the active animation and no luck yet
do I need to put something in the update() method?
anyone can help?
Hmm,…hard to say anything about it! It is courious cause normally if you can animate it in the modeller it should be also working with the XmlAnimatior-example. Is there any error-message? Or is it just staying in the rest-position?
it stays in the rest position… dont i have to call some method to update the frames from the animation? or the animation starts automatically?
skul3r said:
it stays in the rest position... :( dont i have to call some method to update the frames from the animation? or the animation starts automatically?
Don't need to add anything to the update method.
If you have set a valid active animation, the current frame is not the last thread of the animation (according to repeat type), and the AnimationController is active, the animation runs.
Upload your *-jme.xml file to a place where we can look at it.
did you solve it? Try to call setActive(true) on your AnimationController
thanks it solved the problem