Save Scene with skeleton changes

Hello for a project i’m looking for a way to save an skeleton pose in the backend and load it whenever the user needs it.


    public exportScene(){
      let scene3d = JSON.stringify(SceneSerializer.Serialize(this._scene));
      return scene3d;
    }

the problem is whenever i load the exported scene the changes are not reflected an i see the skeleton without any changes

Hello :slight_smile:

I don’t know if an option already exists to serialize the bone pos, but having a look at this topic I would say you could try to save the skeleton bones transforms to a mesh.metadata, and retrieve it on load…

++
Tricotou

Thanks for the solution, I’ll check it out and get back to you