Skip to main content

Bone Angle Detection

The Bone Angle Detection node calculates the angle between a specified bone and its parent bone, and triggers different nodes when it matches or doesn't match the specified angle. This node can be used, in combination with other bone angle nodes, to assess human posture.

Input

NameData TypeDescription
EnterExecTriggers the execution of this node
DetectStringThe body to detect. "Body 1" represents the first person to appear in the scene and "Body 2" represents the second.
BoneStringThe bone to detect
Bone AngleNumberThe desired angle between two bones
Detection ThresholdNumberThe range condition for angle detection, calculated by adding or subtracting the threshold from the bone angle

Output

NameData TypeDescription
Match SuccessExecExecutes the next node when the detected angle matches the specified angle
Match FailExecExecutes the next node when the detected angle doesn't match the specified angle
Is MatchedBooleanReturns true if the detected angle matches the specified angle, false if not
AngleNumberThe calculated angle between the bones