add_constraint
Add a constraint to a Blender object, specifying type like TRACK_TO or COPY_LOCATION, with optional target and custom properties.
Instructions
Add a constraint to an object. Common types: TRACK_TO (aim at target), COPY_LOCATION, COPY_ROTATION, COPY_SCALE, LIMIT_LOCATION, LIMIT_ROTATION, FOLLOW_PATH, CLAMP_TO, DAMPED_TRACK, LOCKED_TRACK. Properties dict sets constraint attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| properties | No | ||
| target_name | No | ||
| constraint_type | Yes |