Attach 2D to scene in castorgui

@Dad72: here goes another question again. I am looking for a way to attach a 2D element (a text in my case) to the canvas in such a way that the text should move if the object moves. I know this is achievable via Babylonjs but I’m using castor and wondering if there is such a feature that already exists? If not any ideas on how this can be done? TIA.

This can be done with Babylon.GUI using the tags.

The elements of castorGUI are fixed, although it can be moved via CSS using the element IDs, but I fear it will be difficult to do this depending on the moving 3D elements.

I suggest you use Babylon.GUI with the labels which are easier to set up.
Exemple PG:

Thanks for the response @Dad72.