06-09-2019 11:24 AM
RaycastHit hit;
var ray = centerEyeAnchor.ScreenPointToRay(new Vector3(Screen.width / 2, Screen.height / 2, 0));
if (Physics.Raycast(ray, out hit))
{
var point = hit.point;
transform.position = Position;
centerEyeAnchor.transform.LookAt(point);
}