Jump to content

Add mesh to mouse cursors movement


-.-Benji-.-
 Share

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...