Floof Posted October 18, 2015 Share Posted October 18, 2015 Hello guys ! I am working on a new project using Babylon JS but I need some help I created a cosmic scene ( thank you a lot for helping me on this before ) and I put a human head in front of the camera. I would like to create a talking head who speaks to the user, using some .wav I created and that could be played randomly.I also want my human head to always look at my free camera. Here is the last result I havehttp://www.peru-lab.com/bishop/talk Can you help me guys ?++ Floof Quote Link to comment Share on other sites More sharing options...
iiceman Posted October 19, 2015 Share Posted October 19, 2015 Hi Floof, already tried this:headMesh.billboardMode = BABYLON.Mesh.BILLBOARDMODE_ALL;Should make the mesh always face the camera. The documentation for playing sounds and music can be found here: http://doc.babylonjs.com/tutorials/16._Playing_sounds_and_music Hope that helps, let me know if there is a problem Quote Link to comment Share on other sites More sharing options...
Floof Posted October 19, 2015 Author Share Posted October 19, 2015 Thank you for your help !I have now my human head allways watching the camera. And I put a spatial 3D sound on the head' positionNext step : Create a random speech http://www.peru-lab.com/bishop/talk Thanks again ! jerome 1 Quote Link to comment Share on other sites More sharing options...
iiceman Posted October 19, 2015 Share Posted October 19, 2015 Sweet! Glad it helped! You can also mark the thread as answered if you don't have any other questions regarding this topic 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.