diff options
author | Nathan Vegdahl <cessen@cessen.com> | 2011-06-15 05:55:53 +0400 |
---|---|---|
committer | Nathan Vegdahl <cessen@cessen.com> | 2011-06-15 05:55:53 +0400 |
commit | 6f3d2c4932d9af407fa8bdf9317ccaed5e993dcd (patch) | |
tree | 5c881685716a6d242106f9744bfe68cffa36abb2 /rigify/metarigs | |
parent | 2965c00cc3cfc7952641a47970528a34371929a9 (diff) |
Rigify: new spine rig!
This rig replaces the old spine rig, and has a super-set of the old spine's
features. The main new features are:
1. A separate over-all control for translation. Due to the pivot slide
feature of the spine, it didn't really make sense to have one of the
spine bones be the control for translation, so I broke that out
into a separate control. This control also acts as a root of the
spine in general, including for scaling and rotation. If you
want to grab the entire spine as one unit, this is how to do it.
2. The spine can now have more than two control bones. The rigger
can specify an arbitrary number of the spine bones to be
turned into controls upon rig generation.
Controls that are not at the end points of the spine
are optionally (via an animatable switch) auto-rotated by the
the end point controls, so animators can ignore them when they
do not require that level of control.
Diffstat (limited to 'rigify/metarigs')
-rw-r--r-- | rigify/metarigs/human.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rigify/metarigs/human.py b/rigify/metarigs/human.py index a2524c3f..e4eb9f2b 100644 --- a/rigify/metarigs/human.py +++ b/rigify/metarigs/human.py @@ -470,6 +470,8 @@ def create(obj): bpy.ops.object.mode_set(mode='OBJECT') pbone = obj.pose.bones[bones['hips']] pbone.rigify_type = 'spine' + pbone.rigify_parameters.add() + pbone.rigify_parameters[0].chain_bone_controls = "1, 2, 3" pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False |