Wingnut Posted April 26, 2016 Share Posted April 26, 2016 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. Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 26, 2016 Share Posted April 26, 2016 Hi @Wingnut , This might happen when the physics engine is not enabled but a new impostor was created. I thought I actually fixed that already. Would be great if you can share one PG so I can investigate on my side. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 26, 2016 Author Share Posted April 26, 2016 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. Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 27, 2016 Share Posted April 27, 2016 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! Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 28, 2016 Share Posted April 28, 2016 Hi, Bug should be solved in the next playground update. Probably this evening. Wingnut 1 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted April 28, 2016 Share Posted April 28, 2016 hi @RaananW i have problem with intellisense i can't append BABYLONX intellisense . is that possible anyway ? Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 28, 2016 Share Posted April 28, 2016 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. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 28, 2016 Author Share Posted April 28, 2016 Unfortunate news, @RaananW, but useful information. Thanks! I added intellisense tag to the thread. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.