GUI positioning engine


In the world of HTML I use PopperJS to position content on page, I was wondering if BabylonJS had something simular? Or if not then would it be a useful feature?

In the trackable label example if I tilt the camera down until the label is out of view, then ideally a positioning engine would flip the label so that the line is pointing down and the label stays in view.
This would be tricky however, if I move the ccamera down and to the right for eg then the line should be pointing diagonally and the positioning engine would also have to hook into the scene render.

Any thourghts?

No, there’s no helper tool to do that.

As you say, I think it would be quite difficult to create a generic way to handle that correctly.

Hmm, thanks for replying… Once I earn more exp I will experiment with this