Hey,
I ran into some issues while using the new anim system:
-
Animation Events triggering twice
Having an animation event at position 0 triggers it twice on non-looping states.
I’ve included a sample project where a sound plays at the beginning of a non-looping animation -
Unable to leave non-looping state
I’m unable to exit a state with a non-looping animation when the exit time is set to 1 -
Unable to transition after anim reset
Resetting anim component with anim.reset() makes it impossible to change state with booleans. (this might be intended?)
For the first two issues it seems the animation time is rewinded to 0 on animation end although the animation stays correctly in its last frame. If you trigger another animation while the non-looping exit 1 animation hasn’t finished the state transitions correctly to the new one once the non-looping one reaches its end.
Example Project:
https://playcanvas.com/project/956202
Best,
Paul