◀ 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>

Opening it

The three things you pick first

T6rWB5ogro.png

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>

Step by step

  1. Pick the Weapon, the Skeleton and the Folder.
  2. Drag the meshes you want to fix onto the box that says Drop static and skeletal meshes here. Each becomes a row. The example weapon has a row too, marked (example).
  3. Click a row. The preview shows that mesh solid, with the example weapon as a wire mesh over it.
  4. Line the mesh up with the wire mesh:
  5. The box under the buttons shows what's waiting, and reminds you: Nothing changes until Apply.
  6. Do the same for each row.
  7. Click Apply All.
  8. The Result column says what happened to each row, for example Made /Game/Weapons/Sword/SKM_Katana.

<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 preview and the controls

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.

The list's columns

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 weapon's own row

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.

Good to know

If it won't work

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 ▶