I’ve got this playground which shows GUI type text connected to the center of the sphere. My question is: Is it possible to do something like resize this GUI with other meshes e.q. when user is moves away with the camera. I know it’s bad approach. I shouldn’t do it with GUI.
But I need to do something like 2d description above sphere which always will be faced to user and will resize with surroundings.
Hey! can you repro in the playground what you are talking about? I think there are options but I want to be sure we are on the same page
Sorry, I copied playgorund but didn’t paste it here here you go: https://www.babylonjs-playground.com/#XCPP9Y#39
Maybe you can register some code with
scene.registerBeforeRender() and just scale the UI according to camera position?
You can scale the ui with