Ray ray = cam.ScreenPointToRay(Input.mousePosition); //
RaycastHit hit;
if (Physics.Raycast(ray, out hit)) {
float rot = hit.point;
transform.rotation = Quaternion.Slerp(transform.rotation, rot, turnSpeed * Time.deltaTime);
}
В функцию на место rot нужна переменная float, а hit.point - Vector3 и не может быть float. (((