This information is for Vicon Shogun 1.7. For up-to-date help, see the latest Shogun documentation.

Vicon Shogun banner


Snaps the primary node to the average (translation and rotation) of the other selected nodes.

Use snapTo when you need to position or orient an object based on the position and/or rotation of one or more other objects, whether at a single frame in the timeline, over a specific subset of the timeline, or over the entire animation range.

Functional area


Command syntax


snapTo [-allTime] [-ranges] [-positionOnly] [-rotationOnly] [-system]




NameFlag argumentsArgument typeExclusive toComments
all time0rangesPerforms the snap over the entire animation range.
ranges0allTimePerforms the snap over all selected time ranges.
positionOnly0rotationOnlyOnly modifies the translation of the primary node.
rotationOnly0positionOnlyOnly modifies the rotation of the primary node.
system0positionOnlyWorks similarly to snapToSystem command, but it doesn't position the markers according to the system, it only orients them to it. (Must be at least 4 markers selected for this option).

Return value



// This sequence of commands creates a marker called "rootTemp" 
// and snap its position over all time to the average of the four
// indicated waist markers.
create Marker rootTemp;
select LFWT LBWT RFWT RBWT rootTemp;
snapTo -allTime;

Additional information

Related commands