Closed robertlong closed 2 years ago
Thanks! Do you have an example script to verify that the output is what you're expecting?
Yup, here it is: https://gist.github.com/robertlong/8593b4f07dac350381892521ee273c36
I'll have the whole project open sourced as soon as I can figure out how best to package it separately from the rest of our assets.
Merged and released in 1.12.0-pre
I'm implementing the
OMI_collider
extension as a UnityGLTF extension and I need to export thesharedMesh
attached to aMeshCollider
. In order to do so I need to be able to pass that shared mesh to theExportMesh
API. This PR changesExportMesh
andExportPrimitive
to operate onPrimKey
instances instead ofGameObject
instances.