aWeirdo Posted January 10, 2017 Share Posted January 10, 2017 Hi all, without going into too many details, in this scene; i create & disable a child & a parent mesh. i then create instances of them both, set parent mesh as the child's parent, when i then dispose 1 of the child meshes, all parents are removed, instead of just the specified child's parent. example; http://www.babylonjs-playground.com/#1GHHCY#1 even doing mesh.parent = null; before disposing does the same thing; http://www.babylonjs-playground.com/#1GHHCY#3 Splitting the instancing into two seperate variables ( c & p) and setting c.parent = p; now disposes all children instead; http://www.babylonjs-playground.com/#1GHHCY#4 Edit; The same seems to happen with clones. Does anyone know why?, is it intended behaivor? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted January 10, 2017 Share Posted January 10, 2017 Make the geometry unique on the parent that has the instance under it. If I have a chance to help I will today. @Deltakosh solved this one for me last time thought let me see if I can find the thread. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 10, 2017 Share Posted January 10, 2017 It was a bug fixed now ! Thanks for reporting aWeirdo 1 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.