Name of the Bone the Modules should be attached to.
module1
String
yes
Name of a Module to attach to the bone.
marker2
String
no
Name of another Module to attach to the bone.
Scroll pagebreak
Flags
Scroll tablelayout
sortDirection
ASC
repeatTableHeaders
default
widths
40%, 15%, 15%, 15%, 15%
style
sortByColumn
1
sortEnabled
false
cellHighlighting
true
Name
Flag arguments
Argument type
Exclusive to
Comments
parent
1
string
—
—
retargetingRotation
Return value
void
Examples
Code Block
language
text
// Create a Bone and a Marker
create BoneNode "root";
create Marker "marker1";
// Attach the marker to the bone resulting in a new constraint.
attach root marker1;
// Create position and rotation targets
attach mySubject\\Retargeting\\pelvis mySubject\\Solving\\Hips;
attach mySubject\\Retargeting\\pelvis mySubject\\Solving\\Hips -retargetingRotation;
Scroll ignore
Download a complete example script for creating position and rotation targets for the MannequinFingers skeleton.
Scroll only
A complete example script for creating position and rotation targets for the MannequinFingers skeleton is available from the 'attach' page in the online version of the HSL scripting with Vicon Shogun at docs.vicon.com.