private void setupModel() {
        model = assetManager.loadModel("Models/Sinbad/SinbadOldAnim.j3o");
        // Migrate the model's animations to the new system
        AnimMigrationUtils.migrate(model);
        rootNode.attachChild(model);

        animComposer = model.getControl(AnimComposer.class);
        skinningControl = model.getControl(SkinningControl.class);

        ((BlendableAction) animComposer.action("Dance")).setMaxTransitionWeight(.9f);
        ((BlendableAction) animComposer.action("IdleTop")).setMaxTransitionWeight(.8f);
    }
Sets up the model by loading it, migrating animations, and attaching it to
the root node.
jme3-examples/src/main/java/jme3test/model/anim/TestSingleLayerInfluenceMask.java