This plugin is likely more useful for rigs with many parts and many names. It is still useful for ones with less, but renaming the parts manually may be faster. (You can do whatever you feel is best)
In Roblox, using the Blender animation plugin (from Cautioned, the older version, or any other one), there are 2 ways to export an animation rig, one is legacy, one is normal, normal exports the rig but it is bad at preserving textures (does it weirdly), meshes, and probably other stuff, however the parts are automatically connected to bones so no waiting (best for game animations, just quickly start working, no need for details)
Legacy export preserves the textures and meshes, but the part names are scrambled and not connected to the bones, so first you need to rename all the bones back to the originals (For custom rigs with many parts, you must continuously switch to studio and back to see the names and paste them into Blender, unless you remember them which is unlikely) this is time consuming and annoying
I created a plugin that automatically does this, you export the rig in both legacy and normal (separate folders). First (order doesn’t really matter but I’d suggest just doing this) import legacy to blender, rename main folder to Rig2, the parts to Parts2, and the armature to Armature2, then copy it and delete it (delete hierarchy, it is fastest), then you import the normal one and rename the main folder to Rig1, the parts Parts1, and the armature Armature1, after you are done paste the Rig2 back into the scene collection, then you select all the parts of the Parts2 folder (inside rig2), and at last the Armature2 (inside rig2), then you press the “match parts to bones” button and it will do this for you
- Make sure the names are correct
- Make sure all the parts are selected from the Parts2 and Armature2 is the last thing you selected
- Make sure the Rig1 folder and it’s child folders are not hidden while matching parts to bones, otherwise it will process none
- Make sure you are in object mode
Only tested on version 4.5 of Blender, i don’t know if previous or newer versions will support it.
When you are done you can simply delete the Rig1 folder or keep it.
Plugin: Match parts to bones Roblox Blender plugin - Pastebin.com
License:
You can use this for your own commercial works if you first ask me permission and tell me why you want to use this in your work (drastic improvements enough to create your own version, wanting to incorporate it into one of your own plugins to add more uses, etc), if i approve, then you can do whatever you want with the plugin as long as it has to do with the work you have told me about, and as long as i am given credit
