◀ Previous: 11. Feature Pieces · 🏠 WC Tools · Next: 13. Mesh Optimizer ▶
You have twenty swords from five different packs. One has its pivot at the tip, one at the middle, one points along X and another along Z. Some are static meshes, some are skeletal, each on its own skeleton. Put any of them in a character's hand and it sits wrong.
Mesh Setup makes them all the same. You pick one weapon as the example, line every other mesh up against it by eye, and press Apply. Every mesh comes out as a skeletal mesh with:
So one socket, one set of animations and one set of attach rules work for every weapon of that type.
<aside> 🛡️
The meshes you add are not changed. Each one is made into a new mesh in the folder you pick. The one exception is the example weapon, explained below.
</aside>

| Box | What to pick |
|---|---|
| Weapon | The example weapon: a skeletal mesh that's already right. It's drawn as a wire mesh in the preview, every other mesh is lined up against it, and every made mesh gets its joints and sockets. |
| Skeleton | The skeleton every made mesh is given. |
| Folder | Where everything made here is saved, for example /Game/Weapons/Sword. Type it, or click the arrow to pick it. |
<aside> 💡
One example per type of weapon. Do all your swords against a sword, then start again with a bow as the example for the bows. Each type gets its own folder and skeleton.
</aside>
<aside> ✅
What you get: for each mesh, a new skeletal mesh in your Folder named SKM_ + its name (any SM_, SK_ or SKM_ at the front is replaced), on the Skeleton you picked, with the example's joints and sockets and its own physics asset. Everything is saved for you.
</aside>
The pivot is the center of the preview, where the three colored lines cross: red is X, green is Y, blue is Z. You don't move the pivot. You move the mesh until the right part of it sits on the pivot.
| Control | What it does |
|---|---|
| Move X, Move Y, Move Z | Where the mesh sits against the pivot, in cm. The gizmo in the preview changes the same numbers. |
| X +90, X -90, Y +90, Y -90, Z +90, Z -90 | A quarter turn about the pivot on that axis. Turns are always whole quarter turns, so nothing ends up slightly crooked. |
| Reset | No move and no turn. |
| Apply Selected | Applies the selected row only. |
| Apply All | Applies every row, the example weapon first. |
| Remove | Takes the selected row off the list. Nothing is deleted. |
| Column | What it shows |
|---|---|
| Mesh | The mesh's name. The example weapon shows as (example) • its name. |
| Kind | Static, Skeletal or Example. |
| Result | What the last Apply did. Hover over it to read all of it. |
The example is the one mesh that Apply changes in place.
<aside> ⚠️
Read this before your first Apply. Two things happen to assets you already have:
If the example is already right, leave its row alone (its Result will say Nothing to change.). If you're not sure, work on a copy of the weapon, or make sure your project is under source control first.
</aside>
An example weapon with morph targets or cloth can't have its pivot moved. Its Result tells you so.
| What the Result says | What to do |
|---|---|
| Not applied: pick the weapon first. | Pick the example in Weapon. |
| Not applied: pick the skeleton first. | Pick a Skeleton. |
| Not applied: type a folder starting with /Game/ or a plugin's folder. | Fix the Folder. It must be a content folder, like /Game/Weapons/Sword. |
| Not made: ...'s joints don't fit the skeleton ... | The example weapon's joints aren't on the Skeleton you picked. Pick the weapon's own skeleton. |
| Not made: ... would replace ..., which the example weapon uses. | A source mesh would get the same name as the example. Rename one of them. |
| Not applied: ... couldn't be moved into ... (is another asset of that name there?) | Something with the same name is already in the Folder. Move or rename it. |
| ... has morph targets ... so its pivot isn't moved. | The example has morph targets. Pick a different example, or fix its pivot in your modeling tool. |
◀ Previous: 11. Feature Pieces · 🏠 WC Tools · Next: 13. Mesh Optimizer ▶