PacktPublishing / Game-Development-with-Blender-and-Godot

Game Development with Blender and Godot, published by Packt
MIT License
65 stars 17 forks source link

Mesh Library does not import models with the same name. #2

Open LocoUnPocoNadaMas opened 6 months ago

LocoUnPocoNadaMas commented 6 months ago

I suggest renaming the models, for example in the /Floor/ folder, all assets get the same name! What's happening? Well, the mesh library will only import one of them.

Before: mesh instance image

The solution is to take each PacketScene in /Floor/ create a new inherited scene from there and rename its MeshInstance3D. After: image image

If you see this image Its name is in yellow, to edit it, you can select its root node and select "change type" you can choose the same type "Node3D", but then you will be able to edit the scene. Don't forget to save each scene and use it.

To explain better I will use a StaticBody3D root node in each scene image

image now when export the scene Floor to mesh library...

The end result is all the floor parts in your own .meshlib. image

yashpackt commented 5 months ago

Hey @kubarium , would like your view on this.