juanmajr93 Posted January 4, 2017 Share Posted January 4, 2017 Hi, my project with BabylonJS is growing day to day. Now, I am going to introduce interaction to my scene. I dont know how can I get this. I would like click to some object and see on screen show information of it. To do this I need to know differents way to interact with objects of scene. Also using a gui, I am interested to hide or show differents elements of my world. Could you show me similar examples? Thanks. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 4, 2017 Share Posted January 4, 2017 Hey, we have actions for that: http://doc.babylonjs.com/tutorials/How_to_use_Actions You can also consider using pick: http://doc.babylonjs.com/tutorials/Picking_Collisions For UI you can consider using Canvas2D (http://doc.babylonjs.com/overviews/Canvas2D_Home) or just plain HTML Quote Link to comment Share on other sites More sharing options...
juanmajr93 Posted January 5, 2017 Author Share Posted January 5, 2017 @Deltakosh Thanks by the information. I have seen Canvas2D and I am not sure that it could be the best option for I want to do. I have to create a menu where I can change visibility between different layer of scene. This menu can be similar to panel of Google Earth or debug panel of BABYLONJS. Do you know css that is used to show debug panel? Regarding interaction with the scene I will probe the actions that you said Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.