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.
|Name||Flag arguments||Argument type||Exclusive to||Comments|
|0||—||ranges||Performs the snap over the entire animation range.|
|0||—||allTime||Performs the snap over all selected time ranges.|
|0||—||rotationOnly||Only modifies the translation of the primary node.|
|0||—||positionOnly||Only modifies the rotation of the primary node.|
|0||—||positionOnly||Works 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).|
// 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;