Struggling to create a 2D graphical user interface on the renderer. The challenge lies in positioning the 2D GUI dynamically based on the width of an element drawn in threejs (the element has a width of X using threejs units, and the menu needs to be positioned 50px to the right of its rightmost side, etc).
Is there a solution to this issue? Would it be best to draw directly on the renderer using sprites or utilize DOM elements?