From dd52373091e1d120bb9fcf477ce11403a2d19eeb Mon Sep 17 00:00:00 2001 From: Alan O'Cull Date: Wed, 24 Jan 2024 18:04:04 -0500 Subject: [PATCH] Add blend shapes to axe rig --- characters/insurrectionist/p4-rigging.blend | 4 ++-- characters/insurrectionist/post_rig.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/characters/insurrectionist/p4-rigging.blend b/characters/insurrectionist/p4-rigging.blend index efa106a..7cd64f2 100644 --- a/characters/insurrectionist/p4-rigging.blend +++ b/characters/insurrectionist/p4-rigging.blend @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4f3df6ab94034b81084ac0475465180ec710acad20ea5cc393726da11696a99d -size 6369930 +oid sha256:cf39eeffa30542cc73cfec03be2a50b8e9b6aa97b2aa4c62c237068f05fcc4d0 +size 6585654 diff --git a/characters/insurrectionist/post_rig.py b/characters/insurrectionist/post_rig.py index c70fc18..6b54fdb 100644 --- a/characters/insurrectionist/post_rig.py +++ b/characters/insurrectionist/post_rig.py @@ -161,3 +161,7 @@ if axe_base is not None: ## Set up driver constraint for the switches drv_constraint_1D(axe_constraint, 'slider1d_axe_gripadjust', 0.06) drv_constraint_1D(lh_constraint, 'slider1d_axe_lefthand_grip', 0.06) + +## Set up smear effect drivers for axe +drv_blend_1D('Key', 'smear_down', 'slider1d_axe_smear', 0.03) +drv_blend_1D('Key', 'smear_up', 'slider1d_axe_smear', -0.03)