Jump to content

About planepanel's local working


Buzul
 Share

Recommended Posts

Hi to all, you beautifull peoples;

I'm here with other one crazy question and i need your help.. I working since last week about this issue but i coldn't solved this..

First of all my PG link: https://www.babylonjs-playground.com/#113717#2

Please check corners. I'm using PlanePanels and 3 buttons each corner, and positioning with TransformNode.

At the PG working well, it seems no problem in there but when i came at local it's not the same.. As you can see at picture below..

image.png.5bf0ef8e613fa5fc514f6720dccfa5ed.png

How can i fix this issue i need your ideas and guideners..

Thank in advance..

Link to comment
Share on other sites

Hi B!  THAT... is weird.

I verified it.  Retrieved zip of properly-cornered playground, run at home, same issue as picture above.

Then, I disabled all the SCRIPT elements in the index.html, and replaced them with pasted-in script elements from the playground app source.

Same problem... 3 corners out-of-place.

Very strange.  Thx for the report.  Good puzzle!  Sorry for replying without a solution.

Link to comment
Share on other sites

Wow!  You're a GOD, @Sebavan!   I gotta remember THAT one.   (he meant to say executeWhenReady, btw.)

scene.onReadyObservable.add( function(){whatever} )  ... just does not trigger, when the scene is local.   unreal.

------------------
scene.executeWhenReady(function(){
    scene.onReadyObservable.add( function(){
        console.log("oro triggered")
        kose4.rotation.z = Math.PI/2;
        kose3.rotation.z = Math.PI;
        kose2.rotation.z = -Math.PI/2;
    })
})
-----------------

That works.  Weird.  Learn learn learn (thx "bavvy"!).   ;)

Hey, didja know that 'kose' means 'corner', in Turkish talk?  Cooooool.  :)  Buzul taught me that.

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