[Solved] The animation-name is there in the list but jme 3.2 says no there is not!

The animation-name is there in the list but jme 3.2 says no there is not!

I double-check it in the JMB and play it and it works.
I printed the list of animation names and it is there:

control.getAnimationNames().forEach((name) -> {
            System.out.println("name :" + name);
        });

but when I need to use it jme say no there is no animation like that:
java.lang.IllegalArgumentException: Cannot find animation named: 'rifleIdle'

some one help me…

sorry, too low amount of information for me to know.

i have 3 guess:

  • “you missed uppercase character in name”
  • “you trully try it in 3.3”
  • “you try it using old model that dont had this animation, while you look in JMB at new model”

i also have suggestion:

  • change animation name and try.
1 Like

I changed the animation-name and it works.
thank you so much. may God bless and guide you…

1 Like