satguru Posted March 23, 2016 Share Posted March 23, 2016 Get the following error while serializing scene mesh.getPhysicsImpostor(...) is undefined - babylon.2.4.max-latest.js:35216:13 serializeMesh() - babylon.2.4.max-latest.js:35216 SceneSerializer.Serialize() - babylon.2.4.max-latest.js:35393 .... Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 23, 2016 Share Posted March 23, 2016 Will take care of that. Physics serialization must be redone. But the function should exist. Backwards compatibility. Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 23, 2016 Share Posted March 23, 2016 Wait... the function is there... can you reproduce this on the playground? Quote Link to comment Share on other sites More sharing options...
simon_bg Posted March 23, 2016 Share Posted March 23, 2016 Hi! I'm not the original poster, but I have the exact same problem:http://babylonjs-playground.com/#1YX2OP#0 Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 23, 2016 Share Posted March 23, 2016 That seems to be a different problem (which I understand and am able to solve). The error message from the original post says that the function is undefined, which is odd. Will solve this bug in a sec Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 23, 2016 Share Posted March 23, 2016 https://github.com/BabylonJS/Babylon.js/pull/1057 , will be integrated in the Playground during the next update (probably later today). If the first bug can also be reproduced it will be wonderful. If it's the same - bug fixed simon_bg 1 Quote Link to comment Share on other sites More sharing options...
simon_bg Posted March 23, 2016 Share Posted March 23, 2016 i *think* it's the same: For the playground I posted, In Firefox, it said " t.getPhysicsImpostor(...) is undefined", but in Chrome it said "Cannot read property 'type' of undefined" Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 23, 2016 Share Posted March 23, 2016 cool so bug fixed. Quote Link to comment Share on other sites More sharing options...
satguru Posted March 23, 2016 Author Share Posted March 23, 2016 Works fine now. Thanks 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.