Blax Posted October 21, 2015 Share Posted October 21, 2015 Hello, fathers and childs of BABYLON.JS Here http://www.babylonjs-playground.com/#1OALWX interesting fact ParticleSystem has attribut name (in this case "particlesQ") but this name not save in serializer (see console output). Later (in my script), when i load scene, name set automaticaly "particles#"+name of emmiter (particles#Plane, particles#Qube). Bug or features? I think small evil bug p. s.:in 19985 (babylon.2.2.max.js):var particleSystem = new BABYLON.ParticleSystem("particles#" + emitter.name, parsedParticleSystem.capacity, scene); and...http://www.babylonjs-playground.com/#1OALWX#2 We do not banned - create scene, camera, light, create particles system, but not set emitter and have error. In SceneSerializer?. I think here is two ways:Required emitter in ParticleSystem constructor (tough), or let SceneSerializer save that ParticleSystem without missing attributies as is (prefer).If not, please, direct me in right way Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 21, 2015 Share Posted October 21, 2015 There are no bugs, only features. It's just a test to see who finds it first! And you won, so it seems :-)Adding name should not be a problem. I'm mobile at the moment. I'll do it later, unless one of the heroes will take care of this before. jerome 1 Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 21, 2015 Share Posted October 21, 2015 Ok, all fine, next update will contain this fix :-) Quote Link to comment Share on other sites More sharing options...
Blax Posted October 22, 2015 Author Share Posted October 22, 2015 Thank you, RaananW!!Will be waiting update, and, id serialize too, please 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.