Trouble with animation

There is under the Cylinder is another AnimControl and SkeletonControl. Should i player.getChild(“Cylinder”);?

Never mind. doesn’t work.

You guys. I(we) got it :smiley:

 public void simpleInitApp() {
    viewPort.setBackgroundColor(ColorRGBA.LightGray);
    initKeys();
    DirectionalLight dl = new DirectionalLight();
    dl.setDirection(new Vector3f(-0.1f, -1f, -1).normalizeLocal());
    rootNode.addLight(dl);
    player = (Node) assetManager.loadModel("character3.j3o");
    player.setLocalScale(0.5f);
    //player.getChild("Cylinder");
    control = player.getChild("Cylinder").getControl(AnimControl.class);
    control.addListener(this);
    channel = control.createChannel();
    channel.setAnim("chase");
    rootNode.attachChild(player);
  }

Thanks for your time and patience. Keep up the great work. Greets from the Netherlands. Wesly