parenting a bone from one bone layer to a bone in another bone layer

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
jonathan.reaux
Posts: 20
Joined: Thu Jun 30, 2022 4:27 pm

parenting a bone from one bone layer to a bone in another bone layer

Post by jonathan.reaux »

I have an eye rig setup that I am trying to reuse for other characters to save a lot of time.
I've saved out the eye rig and tried to import into another character, but it will not allow me to reparent the eye rig bones to the new character's head. Is there a way to do this?
Here's a video of the problem.
https://www.loom.com/share/95e5feaf443c ... 0f6606b22d

The file
https://www.dropbox.com/s/je29z7700arzt ... moho?dl=0
Daxel
Posts: 1084
Joined: Wed Mar 27, 2019 8:34 pm

Re: parenting a bone from one bone layer to a bone in another bone layer

Post by Daxel »

You can achieve that with a new amazing tool developed by Mult Rush. It's not the only way but it's the most convenient for sure.

Here is the tool: https://mohoscripts.com/script/mr_transform_rig_tool

Here is the part of the video where he explains how to do what you want to do: https://youtu.be/U8OVuOKyLrs?t=180
By the way I didn't get the copy options window pop up when I clicked on the "copy bodypart" button, like it happens on the video. I don't know why... maybe because you don't have smartactions on the eyerig? (I didn't check)

And here is the result on your rig: https://1drv.ms/u/s!AiyKCw6Xey5Tgb5SFjJ ... Q?e=zUhb3n
Before following the video instructions, I created an "eyerig root" bone to be the root of your eyerig and parented every non-parented bone of your eyerig to this eyerig root bone. Then I followed the instructions using this eyerig root as the selected bone to copy the bodypart.
User avatar
Greenlaw
Posts: 10398
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: parenting a bone from one bone layer to a bone in another bone layer

Post by Greenlaw »

The easiest way to move rig parts (without a script) is to open both the source and destination projects at the same time and then use Copy Layer and Paste Layer commands (not to be confused with the Copy and Paste commands.) Use this to copy the layers or groups you need to use in the new project. Then when all the elements in the same location, you can drag or copy/paste the items as needed.

For bones with actions, you should try to preserve the hierarchical orientation as you copy/paste/drag, which generally means you want to keep the parent bone in the transfer. This way, when you change parents, you're not disrupting rotation, which can break Smart Bones. If you happen to break the Smart Bone, it's not catastrophic, just more work to fix.

If you're doing this to create mirror items, you'll want to rename actions and bones before doing the transfer. I do this in a separate scene before moving items so I can isolate them. This prevents problems that can arise from naming conflicts and makes it easier to work with.

Or...you can use the Mult Rush tool described above. This is an advanced tool and it can save you a lot of time. However, I highly recommend understanding how to do this sort of thing manually before using this tool so you understand what the tool is doing.

If you need more help, you'll need to post specific examples because the description is kinda vague.

Hope this helps.
Post Reply