Gets the constraint offset in world space. This command gets the world space value that represents where the constraints target would be if the solve had no error.
Data retrieval
getConstraintPos "SolvingConstraint or LabelingConstraint name" |
Name | Type | Required | Comments |
---|---|---|---|
SolvingConstraint or LabelingConstraint name | string | yes | Name of the constraint to operate on |
None
vector
Returns a vector consisting of the world space value of the constraint offset.
// Get the world space position of the Constraint offset for constraint LFHD_head vector $targetPos = getConstraintPos( "LFHD_head" ); print $targetPos; |