Is there any way to add bone constraint through python api? For example, I have two armatures:
armature1 = scene.objects['armature1'] armature2 = scene.objects['armature2']
Next, I select bone from each of armatures:
selected_bone = armature1.pose.bones["neck"] target_bone = armature2.pose.bones["neck"]
And now I need to add a bone constraint for
selected_bone to copy rotation of
target_bone. Does python API have such method?