void Update(){
RaycastHit hit;
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
if (Physics.Raycast(ray, out hit)){
Vector3 pointToLook = hit.point;
transform.LookAt(2 * transform.position - pointToLook);
}
}
Debug.Log(Input.mousePosition);
RaycastHit hit;
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
if (Physics.Raycast(ray, out hit)){
Vector3 pointToLook = hit.point;
Vector3 projection = Vector3.ProjectOnPlane(transform.position - pointToLook, Vector3.up);
transform.forward = projection;
}