here is my script i want my car to move towards the mouse so i have a mouse look script for that. I want it to move towards the mouse so i made a new script called mouse move, here’s what i have:
function Update ()
{
if (Input.GetMouseButtonDown(0))
new Vector3(Input.GetAxisRaw("Mouse X"), Input.GetAxisRaw("Mouse Y"), 0);
}