Help with Gui_in_3D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By neoxid501

In the demo projects git repository, under the “viewport” folder there is a GUI_in_3D tutorial.

Basically it’s a floating menu that I’ve since implemented into my game. However, I’ve run into a problem. The sliders do not work properly if the scene is moved away from the origin. This of course isn’t an issue when playing the scene itself, but becomes more of a problem when instancing the scene in another.

So:
Would anyone be able to explain why this occurs and propose a solution?
or alternatively
Would a solution using raycasting to determine what button a player is interacting with (by press or sliding) be easier, and if so how would I accomplish this.

Thanks!

edit: I believe I have narrowed the issue down to somewhere around line 35 if anyone is also trying to help me find a solution.

edit2: Still looking for a solution. I did find a fix if the sign is JUST being moved and not rotated however and posted it on this issue I raised in the git repo: Gui_in_3D Demo Proposed Fix for Translations · Issue #347 · godotengine/godot-demo-projects · GitHub
Still looking for a solution that covers all the bases however.