daz_look_at_character
Rotates a character's body to make them look at another character's face, with adjustable involvement from eyes only to full body rotation.
Instructions
Make one character look at another character's face.
Automatically finds the target character's head position and rotates the source character to look at it using cascading body rotations.
Args: source_label: Display label of the character who will look. target_label: Display label of the character to look at. mode: How much body to involve. Options: - "eyes": Only rotate eyes - "head": Eyes + head rotation (default) - "neck": Eyes + head + neck - "torso": Eyes + head + neck + chest - "full": Complete body rotation including hip
Returns:
success: true on success
source: source character label
target: target character label
mode: the mode used
targetPosition: {x, y, z} world coordinates of target's head
rotatedBones: list of bone labels that were rotated
Example: # Alice looks at Bob with head turn daz_look_at_character("Alice", "Bob", mode="head")
# Bob turns his whole body to face Alice
daz_look_at_character("Bob", "Alice", mode="full")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_label | Yes | ||
| target_label | Yes | ||
| mode | No | head |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||