I have a room set up where walls are missing, but I don't want the player to go through them. However, I have to put into box colliders to do this and it doesn't look like the mouse can click on hotspots though a box collider. Is there a way to fix this?
Comments
You can prevent wall colliders from blocking mouse Hotspot raycasts by placing them on the Ignore Raycast layer.
"Ignore Raycast" is a layer already provided as an option - you can change which layer an object is on from the top of its Inspector. If the Collision Cube is on the Ignore Raycast layer (and the fields in the Settings Manager are left alone) then it will not block Hotspot raycasts.