Unity - Gameobject look at mouse
<p>I've ran into a problem.</p>

<p>The basic setup I have right now, two objects: my camera, and my player object.</p>

<p>The player moves via Transform on WASD, and is supposed to rotate on mouse 
movement. </p>

<p>The camera is top down (At a slight "3ps" style angle, which keeps the player object centre to the camera's perspective, and rotates according to the players rotation. </p>

<p>This is the players movement script: </p>

<pre><code>using UnityEngine;
using System.Collections;

public class PlayerController : MonoBehaviour 
{
    public int playerSpeed = 8;  //players movement speed

    void Update () {
        if (Input.GetKey ("w")) 
        {
            transform.Translate (Vector3.forward * Time.deltaTime * playerSpeed); //move forward
        }  
        if (Input.GetKey ("s")) 
        {
            transform.Translate (Vector3.back * Time.deltaTime * playerSpeed); //move backwards
        }  
        if (Input.GetKey ("a")) 
        {
            transform.Translate (Vector3.left * Time.deltaTime * playerSpeed); //move left
        }  
        if (Input.GetKey ("d")) 
        {
            transform.Translate (Vector3.right * Time.deltaTime * playerSpeed); //move right
        }
    }
}
</code></pre>

<p>This is the players rotation script:</p>

<pre><code>using UnityEngine;
using System.Collections;

public class mouseLook : MonoBehaviour {
    private Vector3 inputRotation;
    private Vector3 mousePlacement;
    private Vector3 screenCentre;

    void Update () {
        FindCrap();
        transform.rotation = Quaternion.LookRotation(inputRotation);
    }

    void FindCrap () {
        screenCentre = new Vector3(Screen.width * 0.5f,0,Screen.height * 0.5f);
        mousePlacement = Input.mousePosition;
        mousePlacement.z = mousePlacement.y;
        mousePlacement.y = 0;
        inputRotation = mousePlacement - screenCentre;
    } 
}
</code></pre>

<p>The result of everything I have shown is it rotates, but it doesn't rotate true to where the mouse physically is. </p>

<p>While I draw circles with the mouse, it will do full rotations, but not consistently point to where the mouse is. I'm not sure as to why.</p>

<p>The desired result is for the camera (child of player object) to follow the players movement and rotation, while the player moves with its movement script, and rotates to point true to where the mouse is.</p>

<p>Anyone got any ideas? Thanks in advance.</p>

<p>Edit: if it helps, the current rotation works like this.</p>

<p>drawing large circles with the mouse around the player gives a slower rotation, than extremely tight circles around the player.</p>