I’m creating an interesting attack system in my game where I will have lots of different attacks each with its own animation to play. Since I will have so many different animations I am having trouble figuring out how to best play the animations. I will also need to know the length of an animation, or at least when that animation is no longer playing.
Mechanim seems to not be easy to work for this. Right now if I have 3 different attack animations, I will call a trigger for each attack, but I don’t have a way to grab the animation time. I can set a reference to the animation clip before, but it seems weird to have the clip stored but not be able to play it directly.
So if I can play an animation without mechanim and also be able to either A.) Know when the animation is done, or, B.) Know the length of the animation, then I can get my combat system to work!
Any help at all would be great!