Weapon compunded out of multiple objects - does it need multiple materials and UVMaps as well?

Hello,

this is my first time creating a weapon in blender that I do not combine at the end to get a single model.

The idea behind it was that separate parts will make it easier to animate in unity since I need only some basic sliding animation.

What I did not realize is that now I would have to create a UV Map, a texture and a material for each of the objects and then assign them.

Is there a way somehow to be able to have only single UVMap with a single texture and a single material for the whole thing?

Is this how it is done and I will have to accept that I need to create maps and materials for each of the parts separately or am I doing something wrong?

Or perhaps there is some way to join them into a single mesh while being able to move the weapon parts separately?

You can see the structure of the mesh at the bottom of the screen. The way this structure comes from Blender is that SpearLauncher was a collection and the three parts were separate objects.

Thank you

Blender supports this. In Object mode, select both objects, then hit Tab to enter edit mode.

Now F3 and Smart UV Project, then you can fiddle with the UV maps, or just export them.

Here is a demo with a cube and a UV sphere:

7190536--862801--Screen Shot 2021-05-30 at 7.51.31 AM.png

and unwrapped:

7190536--862804--Screen Shot 2021-05-30 at 7.51.28 AM.png

Then just assign the same material to all. I usually only bother assigning materials once I’m in Unity, since that is what counts.

ALSO: if you iterate, don’t rename parts of your gun after the first import, or you will break any prefabs you make out of them. Unity fixes the Blender names to the imported chunks.

1 Like

Okay, good to know I can handle all these things with a single material.

Thanks for the tip too!

1 Like