I am trying to make a boxing game just for fun (I dont expect the end product to be anything decent lol) . I have my boxers in the ring and they are animated quite well so far, with Idle, and punch Left and Right. They also rotate so they are always looking at each other.
What I want to do is give the punch some aim towards the head. I will give the punch a set amount which it can move from the standard animation and move the hand bone in the direction of the targets head object. But I don't know how to do this :S
So far i have used dragged the 3 animation files into Mecanim and coded it to do the animations when a button is pressed.
Is there a way to manipulate the animation in this way? (ie. actually make the arm reach towards the target object )