#Identify entities generated from blender's mirror modifier

7 messages · Page 1 of 1 (latest)

civic zephyr
#

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?

flint bluff
#

And when you say 'select' do you mean to query for it?

civic zephyr
#

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.

civic zephyr
#

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

flint bluff
civic zephyr
#

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.