So I’m using a behaviours script and there’s onstateenter, onstateupdate and onstateexit. But from my experience none of them gives me the exact point a transition from one animation to the next one starts.
Maybe with Animator.isintransition?
I have no idea and really need help to find out. Please.
I’ve solved it by converting the framelength of the animation from 24fps (blender) to 60fps (unity) by comparing fractions, then converting the new framelength to seconds and then using time.deltatime to know when the animation stops + adding extra seconds for the transition duration. Now I have the exact point when the transition starts and when it ends.