Hi guys. trying a difrent approach to this and seams fairly simple, is it possible to look at a Vector3?
using UnityEngine;
using System.Collections;
public class movetomouse : MonoBehaviour {
public float turnspeed = 12f ;
public void Update(){
Vector3 mousePos = Input.mousePosition(); //get mouse position
transform.LookAt(mousePos);
}
}