Creating an interactive WebGl environment. Need to respond to click events for key objects in the environment to display an HTML “overlay” for information about that object. Not sure how to coordinate that between Babylon js and Wordpress. Help?
Hello and welcome!
So picking in Babylon.js will give you a pickedpoint info which is in 3D, you can then use the Vector3.Project function to get 2d coordinates
Is there a function where the clicked 3D object can return the name of the node or mesh that is clicked. For example if I have a shelf of Books and I click on a node or mesh called BOOK03 instead of BOOK04 or BOOK02 , how would I know which book I clicked.
Thank You in advance.