Hi,
Instead of creating a button and positioning it on the plane, is there a way to make the plane itself act like a button?
I think you can use the Button3D
from the Gui3D:
But that way I must create a plane first and then create a invisible button on top of it right?
I was trying to avoid doing that though.
No, you don’t need to create a plane first, see the example from the doc:
https://playground.babylonjs.com/#2YZFA0#0
I am so sorry. I forgot to mention a very important thing. Basically my plane will be having a texture. So basically a clickable image button.
You can change the material of the underlying mesh of the button 3D:
1 Like
Whilst the best way is to use the GUI as stated the answer to your question is yes see Interacting With Scenes | Babylon.js Documentation