kou Posted February 16, 2016 Share Posted February 16, 2016 Hello world, I'm newbie in BabylonJs. I have some problems when I try some actions on my mesh. 1. I wrote some function to control my mesh. I hope that when I click on mesh, it will perform an animation or redict to another page. I have written in a function but I don't know how to do that. 2. I want to display some text on the canvas. What can I try to do that ? Ex : I click on mesh, it will rotate around an axis and some text will display near there. Could someone help me so solve my problems ? thanks alot. Quote Link to comment Share on other sites More sharing options...
Temechon Posted February 16, 2016 Share Posted February 16, 2016 Hello, 1. Did you check this example ? http://www.babylonjs-playground.com/?17 2. You can use the method 'Project' : http://doc.babylonjs.com/classes/2.3/Vector3#static-project-vector-world-transform-viewport-rarr-vector3-classes-2-3-vector3- and http://doc.babylonjs.com/playground?q=project 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.