So I am a programmer not a builder and I need help. I am working on my cafe and there is a invisible wall on the counter. However I also have a npc with a chat dialog on the other side and becuase of the wall, the player can’t select the dialog. How could I fix this issue?
It may be because the invisible wall is the glass material as that doesnt let people see GUIs through them. Try changing the invisible wall to something like plastic.
I don’t think you understud it correctly, I can see the gui normally, I just can’t select it through the wall
You could possibly make an opening in the invisible wall that is would allow the player to be able to click the dialog box. You can test various times to see what kind of opening would work. The opening is big enough and straight forward, the player can click the dialog box with ease but not too big to allow the player through the counter. I hope I understood the problem correctly and if so, hope this helps!
This would be a great idea but it only allows the player to click it through the opening which can be difficult to find and click through it
That is where testing comes in. I believe you could have a medium-sized slit on the top of the invisible wall so no matter what side you come from, you are able to click the dialog box. Also, you can’t be too far from it either so making a decent sized opening could probably work. It would require a bit of testing. From any other way, I’m not too sure unless you want the dialog box in front of the counter except this would look odd as it isn’t on the npc.
I think the best thing you can do is to have the dialog outside the invisible wall.
You could also have it as a touch event instead of having to click on the box. Once a player stands in front of the counter, (hitting the touch-event brick) the dialogue happens. This may require some script re-work but i believe another position solution.