How to activate a selected animation? (ms3d)


I am just experimenting with MilkShape models in my jME project.

The problem is that my model contains a set of different animations (walk, run, sword attack etc.) but when I add it to the scene and display, it loops through all frames from the very beginning to the very end, which is not what I want.

For example, I know that "walk" animation is contained in frames 10-50, "run" can be found in frames 125-155 etc. Is there an easy way how to activate only selected frames to display?

Thanks for any help.



Try it:

Works great, thank you :slight_smile: