reach
Positions a wrist at a target via arm IK while keeping hand orientation, reports the remaining distance, and shifts only the elbow with an optional pole to clear a forearm.
Instructions
Puts a wrist on a point by arm IK; the hand keeps its turn. Returns how far the wrist ended from the point. Trying poles while the wrist stays put moves only the elbow: a way to clear a forearm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pole | No | where the elbow points, arms frame cm | |
| side | Yes | ||
| frame | No | gun: the gun bone, cm (+X gun's left, +Y barrel, +Z up); arms: the arms' space, cm; view: from the eye, cm (+X right, +Y forward, +Z up) | gun |
| target | Yes | a name (a bone such as hand_l, a fingertip such as index_tip_l, a rig point such as port) or [x, y, z] in the frame |