Home Website Youtube GitHub

Add controller to newly created joints

Hi, i’m trying to do something simple here and i’m struggling.
Essentially i’ve created new joints on top of my existing mGear ones (holster and satchel)
Is there a simple way of automating some new controllers for these joints? I’ve been looking at the Rigbits sections, and can’t get anything to work.

Also, i created the new joints via Maya create joint tool, not mGear.

Cheers

You would need to create a control, and a root. Add it to the hierarchy. Add an icon. Connect it to the joint with a matrix or a parentConstraint. Those steps could be scripted.

But if you want to do anything like integrating space switches, and handling all the extra stuff like space switches, controller tags, etc. the easiest way would be to rebuild your rig and add the controls in the guide.

I don’t believe there are any built-in automatic functions that append controls to a rig. You’d just have to script the steps. Or rebuild the rig.

If you want to rebuild, but save the skinning you already did on your custom joints, I see 2 basic options:

  1. Name the joint the same as it will be named after you re-create it with a control_01 component in the guide. Export the skinning. Then rebuild. Then the joint name will match after it is rebuilt, and the skinning should load. example. if you create a control_01 named “holster” and it is R0, the joint will be named holster_R0_0_jnt.
  2. Save the joint in a custom group. Rebuild your rig with a control_01, but no joint. And then constrain the joint to the control after the rig is built. (I’ve done this before, when I’ve had to rig something complex. It’s easier just to connect it to the rig later, rather than create it with Shifter components.)