Track HTML Elements to Canvas

Is it posible to track HTML Elements to the Camera, kike in this example with the info buttons (Zone, Windmills, PMDC) Google Cloud Infrastructure

Thank for the answers

Yeah, that shouldn’t be a problem. You can put the HTML elements on top of the canvas using an appropriate z-index.

But you could more easily do it using the Babylon GUI then you wouldn’t need to fool with the HTML elements.

1 Like

Yep exactly what @trueshot said. Babylon GUI would be the way to go.

Here is some documentation and playground examples we have for that.

Take a look at this demo. linkWithMesh is going to be the key here :wink:

Thanks for your reply. I will look into this.

1 Like