Custom Skeleton Relationship
The Custom Skeleton Relationship node calculates the linear relationship between two input custom skeletons, and triggers different nodes when it matches or doesn't match the specified relationship. Custom skeletons can be from the same body or from two different bodies.
Input
Name | Data Type | Description |
---|---|---|
Enter | Exec | Triggers the execution of this node |
Skeleton 1 | Array | The first custom skeleton to use. Connect this to a Custom Skeleton Info node. |
Skeleton 2 | Array | The second custom skeleton to use. Connect this to a Custom Skeleton Info node. |
Relationship | String | The desired linear relationship between the two custom skeletons |
Detection Threshold | Number | The range condition for relationship detection. For parallel and perpendicular, the range is set to the baseline angles (90°, 180°, 270°) ± (threshold × 20°). For intersection detection, segments are extended proportionally based on the threshold. For example, a threshold of 1.1 extends each end of the segment by 10% of its length, so a 100-unit segment extends to 110 units. |
Output
Name | Data Type | Description |
---|---|---|
Match Success | Exec | Executes the next node when the detected relationship matches the specified relationship |
Match Fail | Exec | Executes the next node when the detected relationship doesn't match the specified relationship |
Is Related | Boolean | Returns true if the detected skeletons' relationship matches the specified relationship, false if not |
Angle | Number | Returns the calculated angle between the skeletons |