mgear.rigbits.ghost

Rigbits Ghost module

Helper tools to create layered controls rigs

mgear.rigbits.ghost.createDoritoGhostCtl(ctl, parent=None)

Create a duplicated Ghost control for doritos Create a duplicate of the dorito/tweak and rename the original with _ghost. Later connect the local transforms and the Channels. This is useful to connect local rig controls with the final rig control.

Parameters:
  • ctl (dagNode) – Original Control to duplicate
  • parent (dagNode) – Parent for the new created control
mgear.rigbits.ghost.createGhostCtl(ctl, parent=None, connect=True)

Create a duplicated Ghost control

Create a duplicate of the control and rename the original with _ghost. Later connect the local transforms and the Channels. This is useful to connect local rig controls with the final rig control.

Parameters:
  • ctl (dagNode) – Original Control to duplicate
  • parent (dagNode) – Parent for the new created control
Returns:

The new created control

Return type:

pyNode

mgear.rigbits.ghost.ghostSlider(ghostControls, surface, sliderParent)

Modify the ghost control behaviour to slide on top of a surface

Parameters:
  • ghostControls (dagNode) – The ghost control
  • surface (Surface) – The NURBS surface
  • sliderParent (dagNode) – The parent for the slider.