-.-Benji-.- Posted July 20, 2017 Share Posted July 20, 2017 Hey guys, I'm very new to babylon JS and I've a problem with understanding how to add a mesh to the cursors movement. Here is an example: try.matterport.com. I've created a playgroud: https://www.babylonjs-playground.com/#S0BZWE The mesh is changing its size and isn't always in front off all other meshes as shown in the exampel (matterport). Can somebody give me some light? Thanks in advance Benji Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 20, 2017 Share Posted July 20, 2017 Hi and a warm welcome from me to the forum. Perhaps this will help you https://www.babylonjs-playground.com/#S0BZWE note that the ground mesh is necessary. Top right of playground gives a number of useful examples. However I do not see what the link you gave to matterport has to do with a mesh and cursor movements just a video that plays and a background that changes automatically. What am I missing? Quote Link to comment Share on other sites More sharing options...
-.-Benji-.- Posted July 20, 2017 Author Share Posted July 20, 2017 Hi John, Many thanks for your response. You dont have to start the video. You can move with the mouse through the house. When you move the mouse, in the video, you have a blue circle that glides over the objects in the scene. This effect I would like to copy with babylonjs. Maybe ray traicing helps here. But here, too, I am still very inexperienced. Thanks a lot. Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 20, 2017 Share Posted July 20, 2017 Sorry I do not get the effect for me it is just a video playing and a moving background. Moving the mouse does not seem to change anything. No blue circle. Quote Link to comment Share on other sites More sharing options...
-.-Benji-.- Posted July 25, 2017 Author Share Posted July 25, 2017 Hey John, I am sorry for my bad explanation. I try to figure it out and let you know how it works. This week i am very busy, but I try to give you an example as soon as possible. Thanks again for your help. Kind regards Ben 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.