I could finally fix the algorythm, had to rewrite it, but the final implementation is a lot simpler.
(If interested I can post the code somewhere, or submit a pull request)
Is there a place where I can download other samples, exported in runtime format?
Also, I think I've spotted couple bugs.
First I tried to stop the animation :
Code: Select all
curManager.SetIsPlaying(false);
Then I tried to keep the animation playing, but once:
Code: Select all
curManager.should_loop = false;
EDIT: just figured out that curManager.SetIsPlaying(false); should be called after at least one CreatureManager update
cheers