Vicon Shogun banner

Description

Sets the location of the selected markers to the offset of their constraint based on the current pose of the skeleton.

Useful during skeleton setup, when manually creating a VST, and as a method of filling gaps.

Note that fillGaps -constraints may be more appropriate for gap filling. If no flags are used, the marker(s) only snap into place for the current frame.

Functional area

Snap

Command syntax

Syntax

snapToConstraint [-ranges] [-allTime] [-defaultValue] -[solvingOnly] [-labelingOnly]

Arguments

None

Flags

NameFlag argumentsArgument typeExclusive toComments
ranges0allTime, defaultValueSnaps the marker(s) only over the selected ranges
all time0ranges, defaultValueSnaps the marker(s) over all time
defaultValue0ranges, allTimeSnaps the marker(s) at the current frame and only modifies their default values.
solvingOnly



labelingOnly



Return value

void

Examples

// Select a marker that is the source of a constraint. Move the marker
// away from its constraint offset location. Execute snapToConstraint
// to move it back to its constraint offset location.
snapToConstraint;

Additional information

Related commands