Skip to main content

Custom Bone Angle Detection

The Custom Bone Angle Detection node calculates the angle between two specified bones or lines, and triggers different nodes when it matches or doesn't match the specified bone angle. This can be used for assigning posture constraints.

Input

NameData TypeDescription
EnterExecTriggers the execution of this node
Bone 1ArrayThe first bone to use
Bone 2ArrayThe second bone to use
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