I have a blender model that uses mirror modifier. After exporting the model into GLB, I can successfully load and render the model in bevy. However, I'm not sure how can I select one of the entities that are mirrored in blender. If I have an entity "A" that is mirrored, do I get two entities with the same name in the GLB file, or the entity with name "A" only works for the original entity, not the mirrored one? Is there a easy way for me to select either the original "A" or the mirrored "A" in bevy?
#Identify entities generated from blender's mirror modifier
7 messages · Page 1 of 1 (latest)
Looking at the hierarchy with bevy-inspector-egui is probably the easiest way to figure this out
And when you say 'select' do you mean to query for it?
Yes, I'm trying to query the entity and replace the default material with a different one. For mirrored entities, it seems to be difficult to query the entity by its blender name. If may end up query both of them or only the original.
Tried bevy-inspector-egui, and it showed me the same entities as showed in the blender. When I changed the transformation of the mirrored entity, both objects in the rendering were changed. Looks like I can't separately query the original or the mirrored entity then
Hmm okay I was hoping Blender would export it as separate meshes, in that case you'll have to work around it on the Blender side
When I export from blender via mirrored modifiers applied, then named entity contains both the original and the mirrored meshes. When I changed the transform of the entity, it applies to both meshes.