Jump to content

[Solved] Re-link BABYLON.GUI.Button from obj1 to obj2


Arte
 Share

Recommended Posts

Hello, Babylon Community,

First i just want to say that you are doing a great job.

I just started to use the BabylonJs and I ran into a problem re-linking BABYLON.GUI.Button from box1 to box2. 

...
button.linkWithMesh(box1);
relinkBtn.onPointerUpObservable.add(function() {
    // Relink button from Box1 to Box2
    button.linkWithMesh(box2);
});

Link to playground: http://www.babylonjs-playground.com/#Q1CAAX#1

If you have any help to give it would be very appreciated, thank you.
 

Edited by Arte
[Solved]
Link to comment
Share on other sites

I think Delta is working MORE THAN 24/7.  His daughter forgot his name, and now calls him "that guy who lives in the computer room".  :D

Welcome to the forum, Arte! 

Thanks for the bug-find and thanks for... you know... thinking about Deltakosh's workload.  I don't know how he does it, to be frank.  He's a miracle worker, no doubt.

[Wingnut hugs DK and sends him on a relaxing boat ride along the Seattle shores]  :)

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