LatteG / DATX02-19-11

0 stars 1 forks source link

Ray ignores button when boxcollider is behind it. #24

Open Dajly opened 5 years ago

Dajly commented 5 years ago

Raycaster does not work as intended. It ignores the button unless you hit it with the correct angle and that angle is when the ray doesn't hit a wall behind (i.e. aim for the sky to hit buttons). Disable the box collider and the ray hits the button as intended from all angles,

Fix the priority of the raycaster.