Vicon Shogun banner

Description

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.

Functional area

Data retrieval

Command syntax

Syntax

getConstraintPos "SolvingConstraint or LabelingConstraint name"

Arguments

NameTypeRequiredComments
SolvingConstraint or
LabelingConstraint name
stringyesName of the constraint to operate on

Flags

None

Return value

vector

Returns a vector consisting of the world space value of the constraint offset.

Examples

// Get the world space position of the Constraint offset for constraint LFHD_head 
vector $targetPos = getConstraintPos( "LFHD_head" );
print $targetPos;

Additional information

Related commands