Looking at the mouse

Hey, i was wondering how i would go about getting my character to look where the mouse is pointing?

i am no expert but could this here work?

http://unity3d.com/support/resources/unity-extensions/head-look-controller

HaydenM

thanks fpr the link but its not waht im looking for :S i need the whole character to turn to face the cursor

    var mousePos:Vector3 = Camera.main.ScreenToWorldPoint(Input.mousePosition);
    transform.LookAt(mousePos);
    transform.rotation.eulerAngles.x = 0 * Time.deltaTime;

This is what I use in my topdown project.