RaycastHit hit;
if(Physics.Raycast(character.cam.transform.position, character.cam.lookDir, out hit)){
Debug.Log(hit.point);
}
this returns 3 to 4 different values, one a frame, without moving or rotating the camera
RaycastHit hit;
if(Physics.Raycast(character.cam.transform.position, character.cam.lookDir, out hit)){
Debug.Log(hit.point);
}
this returns 3 to 4 different values, one a frame, without moving or rotating the camera