nnpa
1
how to set loop for anim composer?
like this
setLoopMode(LoopMode.Loop);
Ali_RS
2
It will loop by default, if you do not want to loop, use this method and set the loop to false.
2 Likes
nnpa
3
what should be passed instead of layer name?
nnpa
4
anim composer has no such method
Ali_RS
5
If you want to run on the default layer, pass AnimComposer.DEFAULT_LAYER
Ali_RS
6
This is added in JME 3.6. Use JME 3.6.0-beta3
2 Likes
Not related to the topic, but do yourself (and us probably) a favor by getting sources and javadoc. It will make everything so much more easier.
How to do it:
1 Like
Nakano
9
With 3.5.2, it is also possible to just set the speed to zero to run once, for example: