Skip to content

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

License

Notifications You must be signed in to change notification settings

Weimmer/Unity-Mesh-Transfer-Tool

 
 

Repository files navigation

Unity Mesh Transfer Tool

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

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

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 the "Armature" object located under the name of your avatar to the first slot. Make sure the Base armature is humanoid.

image

3. After that, drag in the skinned meshes to the list that you want to transfer.

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 added.

BEFORE:

image

AFTER:

image

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%