Hi,
I have setup a camera zone of near -100 far 100...
and have a button in the scene..
However, it seems i am unable to click (interact) with the button if the button's Z-order ( entire object, even if it's the button is a child of another parent object) is in the positive side... z > 0 ...
to further elaborate, the collider of the button is the one outside the world coordinate z > 0 .
if the collider intersects into world coordinate z <= 0 , then it can interact...
i.e., collider size = 10, but falls into z > 0 and no cross over into z <=0 ; e.g. z = 6 thus collider area is from z ( 1 to 11) which is not intersecting z <= 0 ... CANNOT CLICK...
i.e. no2, collider size = 10, and cross over into z <=0 ; e.g. z = 5 thus collider area is from z ( 0 to 10) which is intersecting z = 0 ... thus can click...
i.e. no3, collider size = 0.01, and cross over into z <=0 ; e.g. z = -5 thus collider area is from z ( -4.995 to -5.005) which is within z <= 0 ... thus can click...
extra details, collider z <= 0, but within camera zone ( defined earlier as -100) ; can click....but outside camera zone, e.g. z < -100 then it cannot be clicked...
----------
why is this?
shouldn't the raycast zone follow the camera setting which is from -100 to 100? AKA from A <--> B (and not A to 0)