Animation Troubles Blender 2.6

Hello jME forums. It seems I’ve always been able to find answers to most of my questions in the awesome documentation, however I’m running into dead ends in regards to animating my first character. I use blender 2.6 and I’m using the blender exporter here: http://www.ogre3d.org/forums/viewtopic.php?f=4&t=61485



CubeGuy.blend, when exported the channel.setAnim(“Walking”, 1f); returns an error. I guess this was to be expected.



CubeGuy2.blend, when exported the channel.setAnim(“Walking”, 1f); returns no error. However, it also doesn’t do anything.



I’m not really certain what gives. This is really my first 3D model so I don’t know the procedures for making these things work. Below I’ve included my sources and I appreciate the assistance. I’ve been trying to wrap my brain around what I’m failing to do right here. I’ve read tons of things and I can only guess that the exporter is glitchy or something.



My .blend files: http://samuelpeterson.org/CubeGuySource.zip



My source:

[java] @Override

public void simpleInitApp() {

flyCam.setMoveSpeed(25);

Spatial CubeGuy = assetManager.loadModel(“Models/CubeGuy.mesh.xml”);

//Material mat_default = new Material(assetManager, “Common/MatDefs/Misc/Unshaded.j3md”);

Material mat_default = new Material(assetManager, “Common/MatDefs/Light/Lighting.j3md”);



Texture tex = assetManager.loadTexture(new TextureKey(“Textures/TexturemapRev2.png”, false));

//Texture tex = assetManager.loadTexture(“Textures/TexturemapRev2.png”);

tex.setWrap(Texture.WrapMode.Repeat);





mat_default.setTexture(“NormalMap”, tex);

mat_default.setTexture(“DiffuseMap”, tex);

//mat_default.setTexture(“ColorMap”, tex);



CubeGuy.setMaterial(mat_default);



//CubeGuy.scale(1.05f, 1.05f, 1.05f);

//CubeGuy.rotate(-1.5f, 0.0f, 0.0f); // Normalize it if it is not already

CubeGuy.setLocalTranslation(0.0f, 0.0f, 0.0f);



rootNode.attachChild(CubeGuy);





control = CubeGuy.getControl(AnimControl.class);

channel = control.createChannel();







// You must add a light to make the model visible



DirectionalLight sky = new DirectionalLight();

sky.setColor(ColorRGBA.White.mult(3f));

sky.setDirection(new Vector3f(-5f, 0f, -1f).normalizeLocal()); // x y z - | .

rootNode.addLight(sky);



AmbientLight ambiance = new AmbientLight();

ambiance.setColor(ColorRGBA.White.mult(3f));

rootNode.addLight(ambiance);









control = CubeGuy.getControl(AnimControl.class);

channel = control.createChannel();



//System.out.println("


nn "+channel.getAnimMaxTime()+"
");
channel.setAnim("Walking", 1f);
channel.setLoopMode(LoopMode.Cycle);
channel.setSpeed(1f);
}[/java]

try this one:

http://dl.dropbox.com/u/26887202/123/jme_blender/help/robot.blend

http://dl.dropbox.com/u/26887202/123/jme_blender/characterOgre26.zip