Home Website Youtube GitHub

Locking unused parts of the rig to avoid keying them

Hi guys. Is there a point during creating the mgear rig that one can only allow animation controls to be selected and keyed, and lock everything else in the rig?

I’ve somehow managed to key parents way up the heirarchy (not controls) to be selected and keyed (typical animator breaking stuff). It caused some confusion when I zeroed controls out and they were still rotated off in an abnormal direction.

There are selection sets defined, so you have all controllers, deformers and roots. You can iterate through that - hope that helps.
rig_sets_grp

Also, there is built-in functions that manages locking/unlocking:
mgear.core.attribute.lockAttribute()

1 Like