Kovacs-3d / Skinned-Mesh-Armature-Remapper

A Unity Editor utility that can transfer skinned mesh renderers from one armature to another.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skinned-Mesh-Armature-Remapper

A Unity Editor utility that can transfer skinned mesh renderers from one armature to another.
This does not automatically weight anything, it just lets you use a mesh on a specified armature instead of only the one it was imported with.

Some uses for this tool include:

  • Adding meshes to an existing configured model
  • Replacing meshes to update instead of reimporting
  • Refreshing every mesh on the model while maintinging original armature

(And more)

ko-fi

Videos

Example:

2021-10-24.14-41-58_1.mp4

Youtube Walkthrough Tutorial:

https://img.youtube.com/vi/N2BVAn7m2y4/0.jpg)](https://www.youtube.com/watch?v=N2BVAn7m2y4)

How to Use

1. You can access the editor window by toing to the top toolbar and going to Tools/Cascadian/Skinned-Mesh-Armature-Remapper.

image

2. Drag in any skinned mesh renderer (Body mesh usually) from the base armature you want to use in the first slot. Make sure the Base armature is humanoid. The other mesh armatures do not need to be.

image

3. After that, drag in the skinned meshes you want to bind to the base armature.

image

(In this case, the Shoes and Skirt are being remapped to match the armature the body is attached to)

4. Press the "Remap Bones" Button and that's it! You can delete the old empty armatures from the scene now. Only bones with the SAME NAME will be remapped. Any new bones will be ignored.

BEFORE:

image

AFTER:

image

Download

To download, go to the releases and download the .cs file and add it to your Unity project.

https://github.com/CascadianWorks/Skinned-Mesh-Armature-Remapper/releases

Issues/Improvements to Be Done

  • Take default humanoid bone names into account (So even if one is named Shoulder_L and other is LeftShoulder, it will still map)
  • Maybe add missing bones to target armature?? (Maybe Possible)

About

A Unity Editor utility that can transfer skinned mesh renderers from one armature to another.

License:MIT License


Languages

Language:C# 100.0%