DigitalHilsone Posted July 26, 2015 Share Posted July 26, 2015 Please tell me how to implement the speedometer? It can be in any unit of measurement - kilometers or miles. And yet - how to open a window with the text when you move the sphere (I use them as planets), I would like to hover cursore a window with description. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 26, 2015 Share Posted July 26, 2015 Hi, your sphere you add an action with Babylon and when you fly over the sphere you run code that'll open the GUIDialog with dialog.setVisible (true); If you want the GUIDialog directly integrated into the scene, you should use bGUI of temechon. For the speedometer, I have not thought too much about it. it is for you to determine a measurement. that is 1 meter in your games and following the movement of your camera, how long your camera makes for example to make a 1 meters. Then you have to calculate this speed after that you will have a base set. it's an idea. good luck 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.