#Mesh names with Blender export

1 messages · Page 1 of 1 (latest)

sterile cairn
#

What I want to do:
Get certain meshes in bevy over the Name-component. The name is the one I set in blender for the mesh.

What happens:
The mesh name is only set correctly in some cases.

What I know:

  • I checked the gltf. The name of the problematic mesh is just "Mesh" instead of the name I gave it. Therefore, the problem seems to be blender.
  • The problem does not appear when I crate a new mesh and rename it.
  • The problem appears for all meshes created by makehuman. Every mesh is just named "Mesh". The objects (in bevy the parent entities of the mat-mesh-entities) are correctly named.

Did you encounter a similar problem or do you know what mesh settings cause the gltf exporter to ignore the name of certain meshes?

novel patio
sterile cairn
#

On every spawned entity on spawn, I check the name. If it is the name I am looking for, I insert a marker component.
I checked the names in my game and with gltf.report