ChrisR Posted September 9, 2015 Share Posted September 9, 2015 This is a followup from a previous post where i was trying to clone a mesh and serialize the scene. http://www.html5gamedevs.com/topic/17024-cloning-an-imported-mesh-serialize-then-open-scene/ It turned out that when i clone and serialize a mesh they seem to attach themselves somehow to each other. So here i clone a mesh, and move just the clone: http://www.babylonjs-playground.com/#1O8OKN Works great! the clone moves seperate to the mesh. Now i serialize the scene and save it to a file. When i load that scene, i can't move just the clone by itself anymore. They appear to be attached. http://www.babylonjs-playground.com/#JQE2O The two meshes on top of each other, this can be confirmed in the debug layer. Does anyone have any suggestions on how to fix this? how to perhaps separate them? or even what is going on so i can try to understand it? Currently all i can see is that both cloned meshes have the same ID. But they both have the same ID when i first clone it and it works great. But after i load it not so lucky. Any ideas? Quote Link to comment Share on other sites More sharing options...
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.