I want to bake my Animation with bpy.ops.nla.bake(), but I only want to bake x Location, because otherwise blender rotates my object and I can't change the Rotation.

Is there a way to set this in the Parameters of bake() function?

  • $\begingroup$ The link to source on bpy.ops.nla.bake(...) is broken. anim.py It contains the code to the operator. $\endgroup$ – batFINGER Sep 7 '17 at 15:15
  • $\begingroup$ Ok, but I dont't want to change that file. Do you know another way? $\endgroup$ – matt Sep 8 '17 at 7:31
  • $\begingroup$ Could use the operator template and paste in the operator code from anim.py. Edit to suit. $\endgroup$ – batFINGER Sep 8 '17 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.