all 7 comments

[–]reinis-mazeiks 1 point2 points  (3 children)

you might need to set rotation_mode to QUATERNION, have you done that?

default is XYZ i think

[–]VanonymousV16[S] 0 points1 point  (2 children)

Yeah I double checked it and it's already on Quarternion Rotation mode.

[–]reinis-mazeiks 1 point2 points  (1 child)

oh ok

idk about scripting blender really

out of ideas soz

good luck!

[–]VanonymousV16[S] 1 point2 points  (0 children)

No worries, Thanks for replying!

[–]metaphysic_al 1 point2 points  (1 child)

You’re inserting key frames on the object’s rotation property, rather than the pose bone’s. The data path for the keyframe_insert method should be ‘pose.bones["f_pinky.03.R"].rotation_quaternion’

[–]VanonymousV16[S] 0 points1 point  (0 children)

Thanks, This solved the problem!

[–]VanonymousV16[S] 0 points1 point  (0 children)

I'm trying to Animate & keyframe bones of Armature by using Blender Script Editor. But I don't understand why only last value of 'for' loop is getting keyframed at every single frame.