Gets the constraint error.
This method returns the error of the given constraint at the current time as determined by the difference between the constraining node's position and its offset. Value is in millimeters.
Data retrieval
getConstraintError "SolvingConstraint or LabelingConstraint name" |
Name | Type | Required | Comments |
---|---|---|---|
SolvingConstraint orLabelingConstraint name | string | yes | The constraint whose error is to be retrieved. |
None
float
Returns the error of the given constraint at the current time.
// Will get the constraint error for the LFHD_Head Constraint. float $err; $err = `getConstraintError "LFHD_Head"`; print $err; |