Jump to content

[solved] PG Error: this._joints is undefined


Wingnut
 Share

Recommended Posts

Hi guys!  I have seen some errors:   this._joints is undefined   ...in the playground, lately.  Is anyone interested in being told about this?  :)

My latest error happened with a playground that had a mesh.setPhysicsState call, but there was no scene.enablePhysics.  I disabled the user's setPhysicsState call, then tried to reRUN.  Joints error.  This error seems to require a playground reload... to clear the error.

6 times in 2 days.  *shrug*  I'll keep investigating and report news.

Link to comment
Share on other sites

Hi R!  Certainly. I should have included one in the first post.   http://playground.babylonjs.com/#TDM98#2

Run that a second time, and you should see the error... no need to watch console.  Thanks for taking a look!  And thanks for info about register collision callback in the other thread, too.  Good to know.  Talk again soon.

Link to comment
Share on other sites

Oh! Nasty dispose problem! :)

Ok, I know where the problem is. Will fix it in my next commit. Probably this evening. The problem is that the editor is trying to dispose the scene, and all impostors created, but the imposter was not really created and still trying to dispose itself. 

Fun fun fun!

Link to comment
Share on other sites

A bit off-topic, but Intellisense will not work on the BABYLONX namespace. It is not automatic, this must be added (kind'a) manually to the editor. Notice that intellisense is also not yet updated to 2.4, as this is not the simplest thing to do. I think @davrous will be able to explain better than me.

But to make a long story short - intellisense will never work for other namespaces or other extensions (doesn't matter the namespace), and will be updated for 2.4 once 2.4 will be final.

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