AnimComposer loop

how to set loop for anim composer?
like this

setLoopMode(LoopMode.Loop);

It will loop by default, if you do not want to loop, use this method and set the loop to false.

2 Likes

what should be passed instead of layer name?


anim composer has no such method

If you want to run on the default layer, pass AnimComposer.DEFAULT_LAYER

This is added in JME 3.6. Use JME 3.6.0-beta3

2 Likes

thanks i try

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

With 3.5.2, it is also possible to just set the speed to zero to run once, for example: