Hey, folks. Got a quick question here. Can you imagine any situation in which a ray’s origin is always the same, even though you’re using camera.ScreenPointToRay(Input.mousePosition)? I’ve been pouring over my code and can’t figure out why I’m not getting a ray.origin that’s different with the following code…
ray = this.gameObject.camera.ScreenPointToRay(screenPos);
print (ray.origin);
print (screenPos);