Mixamo animated character + physic resulting error [SOLVED]

Not a very descriptive error but you assume the AnimControl is under the main node when you write this:

animationControl = model.getControl(AnimControl.class);

Since you are not using orge export, you may want to make sure that’s where it is.

Examples,
https://jmonkeyengine.github.io/wiki/jme3/advanced/debugging.html#wireframe-for-animations
https://jmonkeyengine.github.io/wiki/jme3/advanced/traverse_scenegraph.html#code-sample

1 Like