Jump to content

SOLVED: Click on 3D Object to Go to Web Page


wesleycorgi
 Share

Recommended Posts

Hiya WC, welcome to the forum.

https://www.babylonjs-playground.com/#11XV5X#4

Click on any cylinder... opens a different URL in CURRENT window.

Line 34 does all the damage.  :)

If you want the links to open in new windows... change line 34 to...

window.open(urlList[Number(pickedMesh.name)]);

Tested ONLY in Firefox ESR (52.6).   I hope this helps! 

If you have questions, just ask. 

If you want to talk about that playground, let's do it.  :)  Party on.

Link to comment
Share on other sites

Cool!  I like all the webGL engines.  We're all on the same team... Team WebGL... and it's a great place to hang-out.  Polyhedrally-awesome.  :)  Thank goodness everyone got together and gave us 3D in the browser.  Geometry classes worldwide... are being treated better.... kinder... looked-upon with less disdain.  heh

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...