Hopefully this one doesn’t break the internet!
I have a number of objects in my game where OnMouseOver is displays a GUI.Label with the name when near enough. All of this works just fine until I get ‘too close’ to the object.
For example - I have a small item that rolls, when it is within ‘4’ (I have a constant Debug.Log printing the distance between Player and Object) the label shows as expected. When the object is closer than 2.5 the label stops showing on mouseOver.
I have checked with Debug Logs and discovered it is OnMouseOver that is not firing when a short distance away from the object, not the Vector3.Distance.
I am using the standard first person controller asset with the MouseLook Y on the Main Camera (as default). I switch to XandY on controller but have since switched back - could I have missed a setting which causes this to work differently?
Thanks