---
title: "Create retargeting constraints"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736841/Create%20retargeting%20constraints"
format: markdown
---
> ✅ **Tip**   
> ✅ When creating constraints in Shogun Post 1.6 and later, note the following shortcuts:   
> ✅ ▪️ CTRL+T creates a retargeting constraint between the selected solving and retargeting bones, or a solving constraint between the selected solving bone and marker.  
> ✅ ▪️ CTRL+R creates a retargeting rotation constraint between the selected solving and retargeting bones.

1. In the lists on the right of the **Retargeting** tab (or anywhere else in Shogun Post), select a matching source and target bone, then click  **Add Position**  or  **Add Rotation**  to create a constraint between them. The order of selection does not matter.
2. As a starting point for the constraints, add a position on hands, feet and hips; and rotation on all joints.  
If your target skeleton has more joints than the Vicon source skeleton, you can constrain multiple target joints to the same Vicon source joint.  
:check_mark: **Tip**: You can use HSL scripting to speed up creating constraints. For information and examples, see [attach](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736625) in *HSL scripting with Vicon Shogun Post*.  
Another way to speed things up is to mirror the changes you make to one side of the source and target skeletons onto the other side. See [Mirror constraints](#MirrorConstraints) and [Mirror joint manipulation](#MirrorJointManipulation).
  You can alter multiple constraint weights in the table on the **Retargeting** tab.  
To enable you to immediately see the changes you're making, in the toolbar at the top, ensure the **Enable interactive retargeting** button > Macro (inline-media-image)

 is selected (green).  
You can also select or clear **Active** to turn constraints on or off.
3. To check targets, ensure that the **View Filters** option for **Constraints** (for **Retarget**) is selected.
4. Set weights for all rotations. The recommended value for Rotation weights is 200. To set multiple rotations to 200, on the **Retargeting** tab, drag to select the required rows in the table and then in the **Weight** column, set the value of one of them to 200.  
All the selected rotation weights are updated to 200.   
:check_mark: **Tip**: If you want to automatically copy your changes to weights from one side of the skeleton to the other, ensure the **Mirror Weight Changes** option is also selected (see [Mirror weights](#MirrorWeights)).
5. To add keys, select the relevant line(s), right-click and select **Set Key**.  
To fine-tune keyframes, you can use the controls in the Graph view. For example, you can use the right-click (context) menu in the Graph view to to cut or insert sparse keys. You can also change the time of a key by clicking and dragging on the Graph view.
6. To save the VSR mapping file, at the top right of the **Retargeting** tab, click the **Save** button.  
By default, VSR files are saved to *C:\Users\Public\Documents\Vicon\Retargets*.

For information on the relevant HSL commands, see the following commands in *HSL Scripting with Vicon Shogun Post*.

- [getInteractiveRetargetCmd](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736849)
- [setInteractiveRetargeting](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736834)

> Macro (anchor)



### Mirror constraints

To make the creation of retargeting constraints faster and less error-prone, you can choose to mirror the changes you make to one side of the source and target skeletons onto the other side.

The same option enables you to mirror edits to retargeting constraints.

> ![Subject Setup panel in Vicon Shogun Post, with Retargeting tab selected and Mirror Creation highlighted in Constraints section.](media://22b18193-52ee-47ef-bc14-0f534e944465)

**To mirror retargeting constraints:**

1. In the **Subject Setup** panel, click the **Regargeting** tab.
2. When you create or edit retargeting constraints, at the top of the **Constraints** section, ensure the **Mirror Creation** check box is selected (the default setting).  
The constraints created between the source and target skeletons on one side are automatically mirrored on the opposite side.

> Macro (scroll-pagebreak)

> Macro (anchor)



### Mirror joint manipulation

When posing a target or source skeleton during retarget setup, you often need to make the same adjustment to each side. To speed up pose adjustments, you can automatically mirror the change you've made to one side to the other side. You can use the same mirroring option when setting up a solve to mirror changes to the pose or bone length. A new button in the manipulator toolbar enables you to do this.

**To mirror changes to the pose or bone length of a skeleton:**

- In the Manipulator toolbar on the left of the view pane, ensure the Mirror manipulation button > Macro (inline-media-image)

 is selected (green). When you create or make changes to one side of the subject, they are automatically copied to the other side.

> Macro (scroll-pagebreak)

> Macro (anchor)



### Mirror weights

When you're adding or editing weights, you can use the mirroring option, **Mirror Weight Changes**, to make the same changes on both sides of the skeleton simultaneously.

> ![Subject Setup panel in Vicon Shogun Post, with Retargeting tab selected and Mirror Weight Changes highlighted in Constraints section.](media://ab9560c7-f0fb-495f-9072-dd2d539634c0)

**To mirror weight constraints:**

1. In the **Subject Setup** panel, click the **Regargeting** tab.
2. At the top of the **Constraints** section, ensure the **Mirror Weight Changes** check box is selected (the default setting).
  When you adjust the weight values between the source and target skeletons on one side, they are automatically mirrored on the opposite side, so that weight values adjusted between, for example, the left lower arm on the source and target skeletons, are mirrored on the right lower arm of the source and target skeletons.