Are there State Transition Events on the AnimStateGraph

I was wondering if there is a good way to keep track of the state transitions in the new AnimStateGraph. Are there events I can subscribe to, which tell me which state I’m leaving, which one I’m entering? Or are there maybe transition callback that I can add, which happen at the start or the end of the transition?

I didn’t find anything at first glance in the repo, and the API documentation is currently very minimalistic API :wink:

It would be awesome to be able to use the anim state machine as a more generalistic state machine and attach functionality to certain states and transitions.

Thanks

Hi @AliMoe,

There’s currently no support for the animation events but it’s something that we’re working on. You can track the feature here. Feel free to contribute to the PR or linked issues too!

1 Like