← usoftsubdiv.com

DOCUMENTATION · v0.1.0 · UNREAL ENGINE 5.7 + 5.8 · WIN64

USoft SKM Editor documentation

USoft SKM Editor adds five tools for editing a Skeletal Mesh directly inside Unreal Engine, in the Skeletal Mesh editor's Editing Tools: add or reassign material slots, bake a bone's move, rotation and scale into the mesh, delete polygons, detach polygons into a new Skeletal Mesh, and remesh a selected region. Skin weights and morph targets are kept.

Overview

ToolWhat it does
New SlotPuts the selected polygons into a new material slot or an existing one. Also deletes a slot and removes unused slots.
Bake BoneMoves, rotates and scales a bone live in the preview, then bakes the result into the mesh. Animations, the physics asset, morph targets and sockets can follow.
Delete PolysDeletes the selected polygons. Works on dense meshes.
DetachMoves the selected polygons into a new Skeletal Mesh asset with the same skeleton, skin weights and morph targets.
RemeshRebuilds the selected region as an even triangle mesh. The selection border, UV seams and material boundaries stay pinned.

Every tool edits LOD0 of the asset. Nothing is written to disk until you save the asset, and every operation can be undone with Ctrl+Z.

Installation

Requirements

  • Unreal Engine 5.7 or 5.8, Windows (Win64).
  • The engine plugins it builds on are enabled automatically with it: Skeletal Mesh Modeling Tools, Mesh Modeling Toolset, Mesh Modeling Toolset Exp and Modeling Tools Editor Mode.
  • Editor only: nothing from the plugin is packaged into your game.

From Fab

Install it to your engine from the Epic Games Launcher (Fab Library), then enable USoftSKMEditor in Edit > Plugins and restart the editor.

The plugin ships with its full C++ source. To keep a copy inside one project instead, copy the installed USoftSKMEditor folder into that project's Plugins/ folder; if both exist, Unreal uses the project's copy.

Opening the tools

  1. Double-click a Skeletal Mesh asset to open the Skeletal Mesh editor.
  2. Press Editing Tools in the toolbar.
  3. Pick the SKM Editor tab on the left. The five buttons are New Slot, Bake Bone, Delete Polys, Detach and Remesh.

Each tool shows a short instruction when it opens. A tool closes with Apply to Asset or Cancel in the bar at the bottom of the viewport.

The plugin hides the engine's own Separate and Duplicate buttons in the Skeletal Mesh editor: there they remove the polygons without creating the new asset. Use Detach instead.

Selecting polygons

New Slot, Delete Polys, Detach and Remesh share the same selection: paint over the mesh in the viewport with the brush. The Selection Edits buttons (SelectAll, Invert, Grow, Shrink, FloodFill, ExpandToMaterials and others) refine it, and Selection Mode switches between single triangles and connected regions.

The selection works on dense meshes too: unlike the engine's triangle editing tools, it has no edge limit.

New Slot

  1. Select the polygons.
  2. Set Target:
    • New Slot creates a material slot. Type its name in Slot Name (leave it empty for an automatic name). With Copy Source Material on, the new slot starts with the material the polygons had, so nothing changes on screen until you assign another one.
    • Existing Slot moves the polygons into the slot picked in Existing Slot.
  3. Press Apply to Asset. Cancel discards everything.
  4. Assign the material in Asset Details > Material Slots.

Cleanup

  • Delete Slot deletes Slot to Delete and moves its polygons into Merge into Slot.
  • Remove Unused Slots deletes every slot that no polygon uses.

Bake Bone

Bakes a bone transform into the mesh, like Maya's Freeze Transformations: the mesh keeps its new shape and the bone goes back to zero.

  1. Select a bone in the Skeleton Tree and press Use Selected Bone (or type it in Bone Name; empty means the root bone).
  2. Type Location, Rotation and Scale. They are changes from the current pose, start at zero, and show in the viewport as you type. Apply to Preview re-applies them if you touched the bone by hand.
  3. Press Bake.

Options

Zero the BoneAfter baking, reset the bone to zero.
Make Animations FollowExisting animations play at the baked size. This is a setting of the Skeleton asset, so it also affects every other mesh using that skeleton.
Bake Rotation Into AnimationsAlso rotates and moves the root bone track of every animation that uses the skeleton. The animation assets are modified and must be saved. Root bone only.
Resize Physics AssetResizes the physics bodies and constraints to match. The physics asset must be saved.
Localize Skeleton SocketsSockets added with Add Socket live on the Skeleton asset and are left untouched. Turn this on to copy them onto the mesh first, so the copies follow the bake.
Fix Animations NowFor a mesh baked before: sets the animation option only, without baking again.
Scale must be the same on all three axes; a non-uniform scale is refused. Morph targets follow the bake automatically.

Delete Polys

Select the polygons and press Delete Selected Polygons. Selecting every polygon is refused, because it would leave an empty mesh. Material slots that become empty stay; remove them with New Slot > Remove Unused Slots.

Detach

  1. Select the polygons.
  2. Keep Remove From Source on to cut them out of the original mesh, or turn it off to copy them.
  3. Press Detach Selected Polygons.
  4. Save both assets.

The new asset is created next to the original as <name>_Part. It uses the same skeleton and keeps the skin weights, morph targets and the materials of the detached polygons; unused material slots are removed. Sockets and the physics asset are not copied, because they were made for the whole mesh, and the new asset has LOD0 only.

Remesh

  1. Select the region.
  2. Set Density: the target edge length is the current average edge length times this value. 1.0 keeps the density and only evens the triangles out; below 1.0 makes the region denser, above 1.0 coarser. Target Edge Length shows the estimate.
  3. Iterations sets how many passes run (more passes give a more even result).
  4. Press Remesh Selected Polygons.

The border of the selection, UV seams and material boundaries stay pinned, so the region still fits the rest of the mesh. Skin weights and morph targets are carried over to the new vertices.

Remesh refuses a mesh whose morph targets carry normal deltas, rather than silently discarding them.

Limitations

  • All tools edit LOD0. Delete Polys, Remesh and New Slot leave extra LODs as they were, so a mesh with several LODs may show the old geometry from a distance; regenerate the LODs afterwards.
  • Bake Bone: moving a bone into animations works for the root bone only.
  • The tools work on the source geometry of the asset. Clothing data bound to the mesh is not updated.

Troubleshooting

The SKM Editor tab is missing

Check that USoftSKMEditor is enabled in Edit > Plugins and that you opened a Skeletal Mesh (not a Static Mesh), then press Editing Tools.

The asset changed but the viewport does not show it

Another plugin may be drawing its own version of the mesh, for example a subdivision plugin with a subdivision level above 0. Set that level to 0 or re-cook it after editing.

An operation says "Nothing was changed"

The message explains why: for example an empty selection, a selection of every polygon, or a mesh whose material bindings are inconsistent. Reimporting the mesh fixes the last case.

Details in the Output Log

Every operation writes a line starting with [SKMEditor] to the Output Log. Include these lines when you report a problem.

Support

Questions and bug reports: see the support section of usoftsubdiv.com. Please include your engine version and the [SKMEditor] lines from the Output Log.