Mecanim Question

Hi All,

My name is Holger and although I am programmer since 20 jears, I am new to unity.
My current problem is: I want to control a players (maybe NPC) head. The Charcter should follow an other one with his head, moving it up/down and left/right, and maybe with the eyes.
Maybe the movements can be controlled by a user, don’t know jet.

My idear is to use mecanim, and in the inspector all seems to be ok, i can move the head with so on.
But my second impression is that i can only play predifined animation. Is this true?
Some of the movements I want are prodefinable, some are controlled by other caracters, user-input or by Networking.

Is this possible with macanim? Or do I have to search for an other aproach?

Thank you,
Holger, Toulouse, France.

It sounds like you want to utilize IK. Take a look at the mecanim example video (http://video.unity3d.com/video/7362044/unity-40-mecanim-animation-tutorial). Towards the end, the presenter demonstrates how to use IK to force the robot to look at a target in the air.