+1 vote

enter image description here
In the picture the red line shows rest of the dialogue window/box

I have a viewport based dialogue window popping up above player when interacting with stuff. But when I'm close to a wall, it goes through it. The simplies solution would be to make it render in front of everything I just don't know how to do it.

Other solution would be moving the dialogue box away from a wall as player gets close to it, but I have even less of an idea how to do that. Kind of like this:
enter image description here

Godot version 3.5.1.stable
in Engine by (62 points)

1 Answer

0 votes
Best answer

Ok found the rendering solution - in material > flags > checked no depth test, also setting render priority to 1 fixes additional issue if there's a transparent material on screen.

by (62 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.