I'm having major troubles trying to get animations to work

I created a axe model in blender, assigned a bone to it, and animated the bone to rotate 180 degrees to look like it’s swinging. I exported it with Ogre and I can load the model in fine but when I try to do something like getAnimationNames() I always get a null pointer exception. I’ve gone into the action editor in blender and made sure there were actions with names and I’ve tried searching around for answers but it doesn’t seem like anyone else has this problem :frowning: Anyone have suggestions?

Have you tried this : https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:external:blender#animations

I followed that guide exactly! I have no idea why none of the actions get saved with the model?

I haven’t tried it before. But, if you provide the model, I can take a look.

@clbembry http://hub.jmonkeyengine.org/forum/topic/blender-animation-to-jmonkey/#post-251891

@clbembry said: I followed that guide exactly! I have no idea why none of the actions get saved with the model?
Maybe you missed the step where you make them permanent?
- Press the "F" button next to the action so it will be saved even if theres no references - The animation would else be deleted if its not the active animation on the armature and the file is saved
1 Like