daz_reach_toward
Position a character's arm to reach toward a specific point in 3D space using IK approximation. Specify character, arm side, and target coordinates for automatic hand placement.
Instructions
Position character's arm to reach toward a world-space point.
Uses pseudo-IK approximation to calculate shoulder and elbow rotations that position the hand near the target point. Automatically adjusts elbow bend based on target distance.
Args: character_label: Display label or internal name of the character. side: Which arm to use: "left" or "right". target_x: World X coordinate (cm) to reach toward. target_y: World Y coordinate (cm) to reach toward. target_z: World Z coordinate (cm) to reach toward.
Returns:
success: true on success
character: character label
side: which arm was posed
targetDistance: distance in cm from shoulder to target
bones: list of bone labels that were rotated
Example: # Reach right hand toward point in front at chest height daz_reach_toward("Genesis 9", "right", 50, 130, 80)
# Reach left hand toward object on left side
daz_reach_toward("Genesis 9", "left", -60, 100, 50)Note: This uses simplified IK approximation. For precise hand positioning or complex reaching, load an artist-created pose preset instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| character_label | Yes | ||
| side | Yes | ||
| target_x | Yes | ||
| target_y | Yes | ||
| target_z | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||