Model Clone Fixes deranged bone, animation, morphTarget reference relationships

modelClone | Babylon.js Playground (babylonjs.com)
This is a case of fixing mesh clone after skeleton, animation, morphTarget, citation relationship confusion problem. After a simple test of some models provided by babylon, no problem is found, but there may be some problems that I don’t know about. If you are interested in it, you can use it. If you run into problems with new clones, please leave a comment here and I’ll try to fix them.

1 Like

Cool. Thanks for sharing

modelClone | Babylon.js Playground (babylonjs.com)
Because some business code of my project was deleted in the example, which caused the error, I have corrected it.

1 Like

Thanks for sharing with the community :smiley:

But I found that assetContainer already implements this functionality. :smiling_face_with_tear: :smiling_face_with_tear:

At least, it proves that it was a good idea !!! :slight_smile:

1 Like