AO-StreetArt / BlendMoCap

A Blender Add On for working with Motion Capture Data
GNU General Public License v3.0
1 stars 3 forks source link

Transfer Constraints to Keyframes not functioning #1

Closed AO-StreetArt closed 7 years ago

AO-StreetArt commented 7 years ago

TranserMoCapData operator, when used to generate keyframes, does not transfer motion. No errors are thrown, and keyframes are created, but no armature motion is observed once the constraints are removed.

AO-StreetArt commented 7 years ago

https://blender.stackexchange.com/questions/2533/is-there-a-way-to-convert-a-constraint-to-a-keyframe

Need to try to bake action, per comments in above discussion.

AO-StreetArt commented 7 years ago

bpy.ops.nla.bake(frame_start=1,frame_end=250,visual_keying=True,clear_constraints=True,step=1,only_selected=True,bake_types={'POSE'})