add_bone_constraint
Constrain a bone's motion by applying a constraint type (track to, copy location, IK) with a target object in Blender.
Instructions
Add a constraint to a bone.
Args: armature_name: Target armature. bone_name: Bone to constrain. constraint_type: TRACK_TO, COPY_LOCATION, COPY_ROTATION, IK, etc. target_name: Target object for the constraint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bone_name | Yes | ||
| target_name | No | ||
| armature_name | Yes | ||
| constraint_type | No | TRACK_TO |