Hi, I can't seem to figure this out. My character is viewing the 3d room through a constrained "Gamecamera" and there are hotspots on objects around the room. For three of the objects (two doors and a chair) mousing over certain parts of the objects (ie their hotspots) do not show the hotspot name or register clicks even though the actual hotspot encompasses the objects completely.
Is there anything I'm doing wrong?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @incommunicado.
This kind of behaviour can most usually happen due to one of two reasons:
No. 2 Is the more common cause. Non-Hotspot colliders on the Default layer are useful as they can prevent Hotspots being clickable through e.g. walls, but care must be taken to make sure they don't block Hotspots by accident. Have a look at the area around the Hotspots, or enable Gizmos in the Game window, to see if there are any colliders that may be in the way.
Cool. I put an object (a bed on which the camera was propped up) in the "Ignore Raycast" layer and it now works.
Thank you for the prompt response.
P.S: AC is awesome. It's extraordinarily powerful.