Closed Logan-010 closed 4 months ago
ColliderConstructor
tries to generate a collider for the entity that the component is on, but your scene doesn't actually add a mesh to that entity. The glTF scene instead spawns a hierarchy of children for all the meshes in the scene.
To generate colliders for those descendants, you should use the ColliderConstructorHierarchy
component instead of ColliderConstructor
:)
Ok, thank you. I probably should have read the example.
Attempting to create a mesh using my gltf blender export creates a panic:
Here is the following code that causes a panic:
And here is a snippet from my Gltf file:
It seems like there is a mesh defined in the Gltf file (I am unfamiliar with the format, so correct me if I'm wrong) and am clueless to what the issue is.