Fix rigging for Unreal, cleanup animation file for Shelby, Tommy
This commit is contained in:
parent
032e99590d
commit
8085fc38d4
BIN
animations/insurrectionist/anims-alan.blend
(Stored with Git LFS)
BIN
animations/insurrectionist/anims-alan.blend
(Stored with Git LFS)
Binary file not shown.
BIN
animations/insurrectionist/anims-shelby.blend
(Stored with Git LFS)
BIN
animations/insurrectionist/anims-shelby.blend
(Stored with Git LFS)
Binary file not shown.
BIN
animations/insurrectionist/anims-tommy.blend
(Stored with Git LFS)
BIN
animations/insurrectionist/anims-tommy.blend
(Stored with Git LFS)
Binary file not shown.
BIN
characters/insurrectionist/p4-rigging.blend
(Stored with Git LFS)
BIN
characters/insurrectionist/p4-rigging.blend
(Stored with Git LFS)
Binary file not shown.
BIN
characters/insurrectionist/p5-baking.blend
(Stored with Git LFS)
BIN
characters/insurrectionist/p5-baking.blend
(Stored with Git LFS)
Binary file not shown.
@ -21,10 +21,10 @@ fixList = [
|
||||
'DEF-middle01.L',
|
||||
'DEF-ring01.L',
|
||||
'DEF-pinky01.L',
|
||||
'DEF-palm.01.L',
|
||||
'DEF-palm.02.L',
|
||||
'DEF-palm.03.L',
|
||||
'DEF-palm.04.L',
|
||||
|
||||
# Arms
|
||||
'shoulder.L',
|
||||
'breast.L',
|
||||
|
||||
# Legs
|
||||
'DEF-thigh.L',
|
||||
@ -38,11 +38,22 @@ for item in fixList:
|
||||
# Pelvis parents work a little differently
|
||||
reparent('DEF-pelvis.L', 'DEF-spine')
|
||||
reparent('DEF-pelvis.R', 'DEF-spine')
|
||||
# Deform parents on palms are actually parented to originals, so skip that layer
|
||||
reparent('DEF-palm.01.L', 'DEF-hand.L')
|
||||
reparent('DEF-palm.02.L', 'DEF-hand.L')
|
||||
reparent('DEF-palm.03.L', 'DEF-hand.L')
|
||||
reparent('DEF-palm.04.L', 'DEF-hand.L')
|
||||
reparent('DEF-palm.01.R', 'DEF-hand.R')
|
||||
reparent('DEF-palm.02.R', 'DEF-hand.R')
|
||||
reparent('DEF-palm.03.R', 'DEF-hand.R')
|
||||
reparent('DEF-palm.04.R', 'DEF-hand.R')
|
||||
|
||||
# Force axe to be exported by setting it as a deform bone
|
||||
rig.data.edit_bones['axe'].use_deform = True
|
||||
|
||||
# Switch into POSE mode to set up animation constraints
|
||||
bpy.ops.object.mode_set(mode='POSE')
|
||||
|
||||
|
||||
## Declare Functions for animation constraints
|
||||
def arrcopy(copyTo, copyFrom):
|
||||
for i in range(min(len(copyTo), len(copyFrom))):
|
||||
|
Loading…
Reference in New Issue
Block a user