Hello, how can I make it that walls and distance block the raytracing of the center? Like the example picture. The Object Name should not be visible due the wall. So Hotspot should only be working if its visible in line of view and at shorter range. like 1-2 meters before object.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
https://imgur.com/a/nrsLszd
Place the scene's Room object (which includes the wall) on the Default layer, instead of its default NavMesh layer. Any object that's on Default, but has no Hotspot attached, will block raycasts to Hotspots.
Thank you. Can I limit the RANGE / DISTANCE of the hotspot? I want that hotspot only active when player is 3-4 meter in front of it.
Yes - reduce the Hotspot ray length field in the Settings Manager's "Raycast" panel.