---
title: "Adjust neck constraints for better solving in extreme neck poses"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738145/Adjust%20neck%20constraints%20for%20better%20solving%20in%20extreme%20neck%20poses"
format: markdown
---
If Live calibration produces unwanted results during extreme neck poses made by an actor, you can use the supplied *CreateNeckConstraintSetup.hsl* script to adjust the relevant constraints, producing an improved solve.

Before running the *CreateNeckConstraintSetup.hsl* script, you must first run AutoSkeleton. For information on how to do this, see [Use Auto-Skeleton (marker-based mocap only)](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736922).

**To update the neck constraints:**

1. Ensure you have run Autoskeleton on the relevant subject.
2. On the ribbon, click **Panels** and then click **Script Editor** to open it.
3. At the top of the **Script Editor**, select Open .
4. In the **Open** dialog, navigate to the directory containing the *CreateNeckConstraintSetup.hsl* script file. Its default location is:  
*C:\Program Files\Vicon\ShogunPost1.x\Scripts\Solving*
5. Click **Open**.
6. With the script open in the **Script Editor**, click **Run the current script**.

After the script has completed, you can solve the take to review the changes (see [Solve the data](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737903) in *Getting started with Shogun Post)*.

> Macro (scroll-pagebreak)

**To export the subject for use in Shogun Live:**

1. Open the **Subject Management** panel.
2. Right click the updated Subject and click **Export**.
  The subject is saved to the default location for subjects, found at:   
*C:\Users\Public\Documents\Vicon\Subjects*

For information on how to import this subject into Shogun Live, see: [Extreme poses of the actor's neck results in suboptimal neck solve](https://vicon-help.atlassian.net/wiki/spaces/ShogunLive121/pages/1253212299/Troubleshoot+subject+calibration#ExtremeNeckPoses) in *Getting started with Shogun Live*.