Can we export gltf model from playcanvas in runtime ?. I want to export the model in runtime when I set or combine all models.
No, there isn’t any API for doing that in PlayCanvas.
Doing a search online there are some libraries that you could use with PlayCanvas to write an exporter for a GLTF file:
Will was making an API for that, but it is not complete yet, Ref:
I wanted to use the gltf exporter for personal use, so I used the code in Will’s pull request.
check the exported GLB in the viewer
I was able to export the mesh. I plan to use another software to set up the materials, etc.