Hi,
I’m working on a versus fighting game. With these types of games, I need a full control over the frames of animations. I can’t use the technique of animator.speed because it’s a float approximation from the normalized value of the animation length. Ok, this animation is at frame X, so I stop this animation and play the other or, this animation is at frame Y so I freeze time for Z frames, etc…
My problems are :
- I need to dynamically speed/slow some animations (block stun) depending on the frame data of the opponent when he hits. I don’t see how to achieve that without frame control on the animator.
- I need frame precision to handle cancels, links etc…
I have a dream where I can access everything from the standard arnimation view from Unity by script (scrubber, current frame number, stretch group of frames…).
Does anyone faced this problem already or have a solution ?