Temporarily disable baking for animation export script
This commit is contained in:
parent
288079652f
commit
dc800c99a6
23
animations/infantry/anim_notes.txt
Normal file
23
animations/infantry/anim_notes.txt
Normal file
@ -0,0 +1,23 @@
|
||||
Animation Team
|
||||
|
||||
Elite:
|
||||
- Flying (Neutral)
|
||||
- Tennis serve/toss stratagem up
|
||||
|
||||
Infantry:
|
||||
- Flinch Animations
|
||||
- Right front shoulder
|
||||
- Left front shoulder
|
||||
- Stomach or chest
|
||||
- Back
|
||||
- Melee Fall
|
||||
- Ranged Run Cycle
|
||||
- hold gun up for this
|
||||
|
||||
Insurrectionist:
|
||||
- Flinch Animations
|
||||
- Right front shoulder
|
||||
- Left front shoulder
|
||||
- Stomach or chest
|
||||
- Back
|
||||
|
@ -29,17 +29,17 @@ for i in range(29,32):
|
||||
armature.layers[i] = True
|
||||
|
||||
# Use BoneJuice to bake down all actions
|
||||
bpy.ops.bj.anim_bakeall()
|
||||
# bpy.ops.bj.anim_bakeall()
|
||||
|
||||
# Make armature local so we can clear all constraints
|
||||
bpy.ops.object.mode_set(mode='OBJECT')
|
||||
bpy.ops.object.make_local(type='SELECT_OBDATA')
|
||||
# bpy.ops.object.mode_set(mode='OBJECT')
|
||||
# bpy.ops.object.make_local(type='SELECT_OBDATA')
|
||||
|
||||
# Clear all posing and pose constraints
|
||||
bpy.ops.object.mode_set(mode='POSE') # Enter pose mode
|
||||
bpy.ops.pose.select_all(action='SELECT')
|
||||
bpy.ops.pose.constraints_clear() # Clear all constraints
|
||||
bpy.ops.pose.transforms_clear() # Clear all transforms
|
||||
# bpy.ops.object.mode_set(mode='POSE') # Enter pose mode
|
||||
# bpy.ops.pose.select_all(action='SELECT')
|
||||
# bpy.ops.pose.constraints_clear() # Clear all constraints
|
||||
# bpy.ops.pose.transforms_clear() # Clear all transforms
|
||||
|
||||
# Export animations
|
||||
bpy.ops.export_scene.fbx(
|
||||
|
Loading…
Reference in New Issue
Block a user