Change Animation

Hi, I’m making my first game in JME3, I’ve made an array of spatial that contains my models (zombies model), I’ve animated them. My question is: how can I change my spatial’s animation by its name, so not using the array name, but using the name that I’ve assigned by using setName()? (Sorry for my English)

At the top of this forum is documentation.

At the top of that menu is wiki.

At the top of that page is a search bar.

Enter animation into search.

At the top of that search you will find

jMonkeyEngine 3 Tutorial (7) - Hello Animation

For other tutorials,

1 Like