so I have to create UI buttons on top of my meshes.
I have created two buttons though but I want to add more with equal distance.
now should I create more planes for each of my button but then how to add them in
BABYLON.GUI.AdvancedDynamicTexture.CreateForMesh as it accepts one mesh? or can we have muktiple dynamic textures in the scene?
What should be the best approach?
For now I am able to add three buttons max using
BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_RIGHT; BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_CENTER; BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_LEFT;
But I can’t add more and the distance is too much between them.
I did some more playaround - https://www.babylonjs-playground.com/#ZI9AK7#745
is this the correct way - disclaimer - I want such UI to be the child of different meshes in my scene