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,

https://wiki.jmonkeyengine.org/jme3.html#tutorials-for-beginners

1 Like