Mekaboo
November 11, 2020, 5:12pm
1
Hello!!
I want to take what was done in this PG as far as text link:
https://www.babylonjs-playground.com/#AA3H19#23
Apply it to this PG:
https://www.babylonjs-playground.com/#AA3H19#27
Difference is I want to add the text button in front of the globe and still have it rotate. When I add GUI the rotation stops and it messes up the PG.
Just want to add a simple button or word text that I can link to another page. Thank ya so very much!!
,
Mekaboo
https://www.babylonjs-playground.com/#AA3H19#29
Not sure what was the problem before, but I think this is what you would like?
1 Like
Mekaboo
November 12, 2020, 6:40pm
3
Thank ya so very much Madam @msDestiny14
Initially I wanted to use the heart import mesh, rotate it, and add text link which Sir @Deltakosh helped (PG #23 ). After thinking it over chose to keep it simple and add a sphere mesh with earth.jpg texture(PG #27 ) with GUI and PG messed up. What you did was exactly what I wanted!!!
1 Like
Mekaboo
November 12, 2020, 7:42pm
4
Madam @msDestiny14 one simple question:
Want to link the button to another pageโฆwhere do I add the link within code? Thank ya!!!
https://www.babylonjs-playground.com/#AA3H19#31
Here you go, just navigates to the Babylon website. Iโd also recommend reading up on our documentation. Open A URL On An Event | Babylon.js Documentation
1 Like
Mekaboo
November 12, 2020, 8:21pm
6
Thank ya again this helps alot