Automatically attaches markers to bones based on distance.
Assumes a skeleton is posed in a marker cloud. Creates a constraint for each marker and sets that constraint to act on the closest bone to the marker in the scene.
Can be used to automate skeleton setup, but resulting constraints should be reviewed as the closest bone may not be the bone you want a marker to constrain.
Skeletal solving
skelSetup |
None
None
void
//Run this with a skeleton posed in a marker cloud and no //existing constraints. skelSetup; |