Hi gang, working out a code to make the User / player look at the mouse. think i got thsi but I’m reading an error.
// Innput Controll.
void Update () {
// Mouse Movement
Vector3 MousePosition = Camera.ScreenToWorld(Input.mousePosition);
MousePosition.x = ship.transform.position.x;
ship.transform.LookAt(MousePosition);
}