# Builder Pane

The Builder pane can be accessed under the *View tab* or by clicking the <img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FkrOnAylLiRhEbkcnIBJw%2Fimage.png?alt=media&#x26;token=d3186527-e26d-4c49-8a7e-9a3dd3028551" alt="" data-size="line"> icon on the main toolbar.

## Overview

The **Builder pane** is used for creating and editing trackable models, also called trackable assets, in Motive. In general, **Rigid Body assets** are created for tracking rigid objects, and **Skeleton assets** are created for tracking human motions. A new feature in Motive 3.1 allows you to create [Trained Markersets](https://docs.optitrack.com/v3.1/motive/trained-markersets) to track objects that are neither rigid nor human skeleton templates.&#x20;

When created, trackable models store the positions of markers on the target object and use the information to auto-label the markers in 3D space. During the auto-label process, a set of predefined labels are assigned to 3D points using the solver pipeline, and the labeled dataset is then used for calculating the position and orientation of the corresponding Rigid Bodies or Skeleton segments. Auto-labeling is not available for Trained Markersets.&#x20;

The trackable models can be used to auto-label the 3D capture both in Live mode (real-time) and in the Edit mode (post-processing). Each created trackable model will have its own properties which can be viewed and changed under the [Properties pane](https://docs.optitrack.com/v3.1/motive-ui-panes/properties-pane). If new Skeletons or Rigid Bodies are created during post-processing, the *Take* will need to be auto-labeled again in order to apply the changes to the 3D data.

![Marker labels shown on some of the markers on the Actor Skeleton.](https://content.gitbook.com/content/uHClgoIWDmmoXSr2eD9q/blobs/ndEL4ElVn0P2JZjGRWzQ/image.png)

### Interface Overview

On the Builder pane, you can either create a new trackable asset or modify an existing one. Select the *Type* of asset you wish to work on, and then select whether you wish to create or make modifications to existing assets. Create and Modify tools for different Asset types will be explained in the sections below.

![Builder pane.](https://content.gitbook.com/content/uHClgoIWDmmoXSr2eD9q/blobs/2y7B61JN0UsnGrYSPNpp/image.png)

### Post-Processing&#x20;

**Edit Mode** is used for playback of captured *Take* files. In this mode, you can playback and stream recorded data and complete post-processing tasks, such as creating and modifying assets. The Cameras View displays the recorded 2D data while the 3D Viewport represents either recorded or real-time processed data as described below.

There are two modes for editing:

* **Edit:** Playback in standard Edit mode displays and streams the processed 3D data saved in the recorded *Take*. Changes made to settings and assets are not reflected in the Viewport until the *Take* is [reprocessed](https://docs.optitrack.com/v3.1/motive/reconstruction-and-2d-mode#applying-changes-to-3d-data).&#x20;
* **Edit 2D:** Playback in Edit 2D mode performs a live reconstruction of the 3D data, immediately reflecting changes made to settings or assets. These changes are displayed in real-time but are not saved into the recording until the *Take* is [reprocessed](https://docs.optitrack.com/v3.1/motive/reconstruction-and-2d-mode#applying-changes-to-3d-data) and saved. To playback in 2D mode, click the Edit button and select *Edit 2D*. &#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2Fxhppl2mwynHtgD6B5UsK%2FLive%20or%20Edit%20mode%20-%20switch%20to%202D.png?alt=media&#x26;token=28dcf6a4-b101-4bc4-8bd3-e168f5dc07e0" alt="" width="200"><figcaption><p>Click Edit to select the Edit mode.</p></figcaption></figure>

{% hint style="info" %}
Regardless of the selected Edit mode, you must reprocess the *Take* to create new 3D data based on the modifications made.&#x20;
{% endhint %}

Please see the [Data Editing ](https://docs.optitrack.com/v3.1/motive/data-editing)page for more information about editing *Takes*.&#x20;

## Rigid Body: Create

To create Rigid Bodies, select Rigid Body from the *Type* option and click the *Create* tab at the top. Here, you can create Rigid Body assets and track any markered-objects in the volume. In addition to standard Rigid Body assets, you can also create Rigid Body models for head-mounted displays (HMDs) and measurement probes as well.

{% hint style="warning" %}
Tip: The recommended number of markers per Rigid Body is **4 \~ 12 markers**.&#x20;

You may encounter limits if using an excessive number of markers, or experience system performance issues when using the refine tool on such an asset. &#x20;
{% endhint %}

### Creating Rigid Body

**Step 1.**

Select all associated Rigid Body markers in the [3D viewport](https://docs.optitrack.com/v3.1/viewport#perspective-view).

**Step 2.**

On the Builder pane, confirm that the selected markers match those on the object you want to define as the Rigid Body.&#x20;

**Step 3.**

Click *Create* to define a Rigid Body asset from the selected markers.

You can also create a Rigid Body by doing the following actions while the markers are selected:

* **Perspective View (3D viewport):** While the markers are selected, right-click on the perspective view to access the context menu. Under the *Markers* section, click *Create Rigid Body*.
* **Assets pane:** While the markers are selected in Motive, click on the add <img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FP5lHbXBc77gHnb4pVtIY%2Fimage.png?alt=media&#x26;token=15f4bdf3-e387-42ba-a84d-db0201cfd97a" alt="" data-size="line"> button at the bottom of the [Assets pane](https://docs.optitrack.com/v3.1/motive-ui-panes/assets-pane).
* **Hotkey:** While the markers are selected, use the create Rigid Body hotkey (Default: Ctrl +T).

![Creating a Rigid Body from selected markers&#x20;
using the right-click context menu.](https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FZ0UuANOsA6gHCJOztBgD%2FCreate%20RB%20-%20Perspective%20view%20context%20menu.png?alt=media\&token=3ac19b97-137a-4db0-9c47-dd03f8569ba7) ![Rigid body defined from the selected markers.](https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FvCBwJ745R9Ki6HLX2fa3%2FRigid%20Body%20Bone%20-%20Unsolved.png?alt=media\&token=b368f299-c685-484f-8307-8f8123d29928)

**Step 4.**

Once the Rigid Body asset is created, the markers will be colored (labeled) and interconnected to each other. The newly created Rigid Body will be listed under the [Assets pane](https://docs.optitrack.com/v3.1/motive-ui-panes/assets-pane).

{% hint style="info" %}
**Defining Assets in Edit mode:**

If the Rigid Bodies, or Skeletons, are created in Edit mode, the corresponding *Take* needs to be [auto-labeled](https://docs.optitrack.com/v3.1/motive/labeling#auto-label). Only then, the Rigid Body markers will be labeled using the Rigid Body asset and positions and orientations will be computed for each frame. If the 3D data have not been labeled after edits on the recorded data, the asset may not be tracked.
{% endhint %}

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FAITi925SB2h2ZWO8eALt%2FBuilder%20Pane%20-%20Create%20RB%20selected.png?alt=media&#x26;token=0b9cf603-1a31-45fe-b0c1-6c735db858e7" alt="" width="563"><figcaption><p>Create a Rigid Body.</p></figcaption></figure>

### Creating HMD Rigid Body

{% hint style="warning" %}
This feature can be used only with HMDs that have the [OptiTrack Active HMD](http://optitrack.com/products/active-components/) clips mounted.
{% endhint %}

For using OptiTrack system for VR applications, it is important that the pivot point of the HMD Rigid Body gets placed at the appropriate location, which is at the root of the nose in between the eyes. When using the HMD clips, you can utilize the HMD creation tools in the Builder pane to have Motive estimate this spot and place the pivot point accordingly. It utilizes known marker configurations on the clip to precisely position the pivot point and set the desired orientation.

{% hint style="info" %}
HMDs with passive markers can utilize the [External Pivot Alignment](https://docs.optitrack.com/v3.1/motive-ui-panes/builder-pane) tool to calibrate the pivot point.
{% endhint %}

![Creating an HMD Rigid Body in the Builder pane.](https://content.gitbook.com/content/uHClgoIWDmmoXSr2eD9q/blobs/Ld8AXOBmeeYoqx3Snn5Y/image%20\(419\)%20\(1\)%20\(1\)%20\(1\)%20\(8\).png)

#### **Steps**

1. Make sure Motive is configured for tracking [active markers](https://docs.optitrack.com/v3.1/active-components/active-marker-tracking#motive-settings).
2. Open the Builder pane under [View tab](https://docs.optitrack.com/v3.1/toolbar-command-bar#view) and click *Rigid Bodies*.
3. Under the *Type* drop-down menu, select HMD. This will bring up the options for defining an HMD Rigid Body.
4. If the selected marker matches one of the Active clips, it will indicate which type of Active Clip is being used.
5. Under the *Orientation* drop-down menu, select the desired orientation of the HMD. The orientation used for streaming to Unity is +Z forward and Unreal Engine is +X forward, or you can also specify the expected orientation axis on the client plugin side.
6. Hold the HMD at the center of the tracking volume where all of the active markers are tracked well.
7. Select all **8** HMD active markers in the [3D viewport](https://docs.optitrack.com/v3.1/viewport#perspective-view).
8. Click *Create*. An HMD Rigid Body will be created from the selected markers and it will initiate the calibration process.
9. During calibration, slowly rotate the HMD to collect data samples in different orientations.
10. Once all necessary samples are collected, the calibrated HMD Rigid Body will be created.

### Creating Measurement Probe Rigid Body

You can also define a measurement probe using the Builder pane. The measurement probe tool utilizes the precise tracking of OptiTrack mocap systems and allows you to measure 3D locations within a capture volume. *For more information, please read through the* [*Measurement Probe Kit Guide*](https://docs.optitrack.com/v3.1/motive/measurement-probe-kit-guide)*.*

![Calibrated probe in Motive.](https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FpuiuO3dSg7tprL2iLTLP%2FBuilder%20Pane%20-%20Create%20Probe.png?alt=media\&token=59c6c04c-16c2-4501-aa6b-0f6733203360)

#### **Creating a probe using the Builder pane**

1. Open the Builder pane under the [View tab](https://docs.optitrack.com/v3.1/toolbar-command-bar#view) and click *Rigid Bodies*.
2. Bring the probe into the tracking volume and create a [Rigid Body](#rigid-body-create) from the markers.
3. Under the *Type* drop-down menu, select *Probe*. This will bring up the options for defining a Rigid Body for the measurement probe.
4. Select the Rigid Body created in step 2.
5. Place and fit the tip of the probe in one of the slots on the provided calibration block.
6. Note that there will be two steps in the calibration process: refining Rigid Body definition and calibration of the pivot point. Click the *Create* button to initiate the probe refinement process.
7. Slowly move the probe in a circular pattern while keeping the tip fitted in the slot, making a cone shape overall. Gently rotate the probe to collect additional samples.
8. After the refinement, Motive will automatically proceed to the pivot point calibration.
9. Repeat the same movement to collect additional sample data for precisely calculating the location of the pivot or the probe tip.
10. When sufficient samples are collected, the pivot point will be positioned at the tip of the probe and the *Mean Tip Error* will be displayed. If the probe calibration was unsuccessful, just repeat the calibration again from step 4.
11. Once the probe is calibrated successfully, a probe asset will be displayed over the Rigid Body in Motive, and live x/y/z position data will be displayed under the [Probe pane](https://docs.optitrack.com/v3.1/motive-ui-panes/probe-pane).

{% hint style="danger" %}
**Caution**

* The probe tip *MUST* remain fitted securely in the slot on the calibration block during the calibration process.
* Do not press in with the probe since the deformation from compressing could affect the result.
  {% endhint %}

{% hint style="info" %}
**Note: Custom Probes**

It's highly recommended to use the Probe kit when using this feature. With that being said, you can also use any markered object with a pivot arm to define a custom probe in Motive, but when a custom probe is used, it may have less accurate measurements; especially if the pivot arm and the object are not rigid and/or if any slight translation occurs during the probe calibration steps.
{% endhint %}

## Rigid Body: Modify

The Builder pane has tools that can be used to modify the tracking of a Rigid Body selected in Motive. To modify Rigid Bodies, select a single Rigid Body and click the *Modify* tab to display the options for editing a Rigid Body.

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FgTAoR4BA64RX2UvHoMd1%2FBuilder%20Pane%20-%20Modify%20RB%20unexpanded.png?alt=media&#x26;token=474e2d5e-49fc-499c-b893-240933a393d8" alt="" width="305"><figcaption><p>Builder Modify pane - with a Rigid Body selected.</p></figcaption></figure>

### Refine

The Rigid Body refinement tool improves the accuracy of Rigid Body calculation in Motive. When a Rigid Body asset is initially created, Motive references only a single frame to define the Rigid Body. The Rigid Body refinement tool allows Motive to collect additional samples to achieve more accurate tracking results by improving the calculation of expected marker locations of the Rigid Body as well as the position and orientation of the Rigid Body itself.

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FAyQsf7yb6NU3fuiXAFeb%2FBuilder%20Pane%20-%20Refine%20RB.png?alt=media&#x26;token=476a64dd-6e3d-4b76-b1f7-068803523cd0" alt=""><figcaption><p>Refine a Rigid Body from the Modify tab of the Builder pane.</p></figcaption></figure>

**Steps**

1. From the [View](https://docs.optitrack.com/v3.1/toolbar-command-bar#view) menu, open the Builder pane, or click the <img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2F9c6ChlVKd9QsC2yQOwcg%2FBuilder%20Pane%20button.png?alt=media&#x26;token=df3f9e1c-67b6-4e6b-9716-315eab23b431" alt="" data-size="line"> button on the toolbar.
2. Click on the Modify tab.
3. Select the Rigid Body to be refined in the Asset pane.&#x20;
4. To refine the asset in [Live mode](https://docs.optitrack.com/v3.1/control-deck#live-and-edit-mode), hold the physical selected Rigid Body at the center of the capture volume so that as many cameras as possible can clearly capture the markers on the Rigid Body.
   1. In the **Refine** section of the Modify tab of the Builder pane, click *Start...*
   2. Slowly rotate the Rigid Body to collect samples at different orientations until the progress bar is full.
5. You can also refine the asset in Edit mode. Motive will automatically replay the current take file to complete the refinement process.&#x20;

<div><figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2Fac5KlPtZ6BsmaO8Mbib5%2Fimage.png?alt=media&#x26;token=c547b6b5-f976-424f-bdfc-498c9b77d957" alt=""><figcaption><p>Rigid Body Refinement in Progress.</p></figcaption></figure> <figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FfJWQwdZ5sSn6TYLSoX0z%2FRefine%20RB%20-%20results.png?alt=media&#x26;token=f404554e-30c5-4cac-bbe1-64813d7c6933" alt=""><figcaption><p>Rigid Body Refinement Results.</p></figcaption></figure></div>

### Probe Calibration

The *Probe Calibration* feature under the Rigid Body edit options can be used to re-calibrate a pivot point of a measurement probe or a custom Rigid Body. This step is also completed as one of the calibration steps when first creating a measurement probe, but you can re-calibrate it under the *Modify tab*.

#### **Steps**

1. In Motive, select the Rigid Body or a measurement probe.
2. Bring out the probe into the tracking volume where all of its markers are well-tracked.
3. Place and fit the tip of the probe in one of the slots on the provided calibration block.
4. Click *Start.*
5. Once it starts collecting the samples, slowly move the probe in a circular pattern while keeping the tip fitted in the slot, making a cone shape overall. Gently rotate the probe to collect additional samples.
6. When sufficient samples are collected, the mean error of the calibrated pivot point will be displayed.
7. Click *Apply* to use the calibrated definition or click *Cancel* to calibrate again.

### Location/Orientation

The *Modify* tab is used to apply translation or rotation to the pivot point of a selected Rigid Body. A pivot point of a Rigid Body represents both position (x,y,z) and orientation (pitch, roll, yaw) of the corresponding asset.

{% hint style="info" %}
You can also use the [Gizmo tools](https://docs.optitrack.com/v3.1/motive/assets/gizmo-tool-translate-rotate-and-scale) to quickly modify the pivot point of a Rigid Body.
{% endhint %}

<div><figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FmDepUhxnTjpnjlc8Y85Y%2FBuilder%20Pane%20-%20Modify%20RB%20-%20Location%20settings.png?alt=media&#x26;token=47cffda7-be72-4283-bb9c-95612830ee5b" alt=""><figcaption><p>Modify Rigid Body Location settings on the Builder pane. </p></figcaption></figure> <figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FA9o0Kv2nzYRPL2G7iFWE%2FBuilder%20Pane%20-%20Modify%20RB%20Orientation%20expanded.png?alt=media&#x26;token=269f0bc5-2eb5-4a47-b364-e8f222d97826" alt=""><figcaption><p>Modify Rigid Body Orientation settings on the Builder pane.</p></figcaption></figure></div>

#### **Location**

Use this tool to translate a pivot point in x/y/z axis (in mm). You can also reset the translation to set the pivot point back at the geometrical center of the Rigid Body.

#### **Orientation**

Use this tool to apply rotation to the local coordinate system of a selected Rigid Body. You can also reset the orientation to align the Rigid Body coordinate axis and the global axis. When resetting the orientation, the Rigid Body must be tracked in the scene.

### OptiTrack Clip Tool

The OptiTrack Clip Tool basically recalibrates an HMD with OptiTrack HMD Clips to position its pivot point at an appropriate location. The steps are basically the same as when first creating the [HMD Rigid Body](#creating-hmd-rigid-body).

### Spherical Pivot Placement

This feature is useful when tracking a spherical object (e.g., a ball). It will assume that all of the markers on the selected Rigid Body are placed on a surface of a spherical object, and the pivot point will be calculated and re-positioned accordingly. Simply select a Rigid Body in Motive, open the Builder pane to edit Rigid Body definitions, and then click *Apply* to place the pivot point at the center of the spherical object.

### Align to Geometry

The Align to Geometry feature provides an option to align the pivot of a rigid body to a geometry offset. Motive includes several standard geometric objects that can be used, as well as the ability to import custom objects created in other applications. This allows for consistency between Motive and external rendering programs such as Unreal Engine and Unity.&#x20;

To use this feature, select the rigid body from the assets pane. In the Properties pane, click the <img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2F8Tk3GMXlSpDAbfCaXAVx%2FMotive%20Context%20Menu.png?alt=media&#x26;token=065f6359-fd1f-4638-9bc6-64315d1475ee" alt="" data-size="line"> button and select *Show Advanced* if it is not already selected. &#x20;

Scroll to the *Visuals* section of the asset's properties. Under *Geometry*, select the object type from the list.&#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FqCQBtmJRSWJrjeDlxRg6%2FRigid%20Body%20Align%20to%20Geometry.png?alt=media&#x26;token=d5670e04-ed9c-4ef0-a355-4805017d116d" alt=""><figcaption><p>Geometry Options for Assets.</p></figcaption></figure>

To import your own object, select *Custom Model*. This will open the *Attached Geometry* field. Click on the file folder icon to select the .obj or .fbx file to import into Motive. &#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FPKlAe3EvxaAhoD8Wr3OA%2Fimage.png?alt=media&#x26;token=16a9482a-bc0a-473c-bdba-27441cfb1a84" alt=""><figcaption><p>Select custom Model. </p></figcaption></figure>

### Align to Camera

To align an asset to a specific camera, select both the asset and the camera in the 3D ViewPort. Click *Camera* in the *Align to...* field in the Modify tab.

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FszS5Bi2T84R1chDy6sOk%2FBuilder%20Pane%20-%20Modify%20RB%20Align%20to%20Object.png?alt=media&#x26;token=c028242e-e7a6-4982-960a-6bb5de9331de" alt=""><figcaption></figcaption></figure>

### Align to Rigid Body

To align an asset to an existing Rigid Body, you must be in 2D edit mode. Click the Edit button at the bottom left and select *EDIT 2D* from the menu.&#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FTP4HQlxT20b7PufZ01cZ%2Fimage.png?alt=media&#x26;token=200dc09f-597a-42e4-99bf-9f4ec3f53675" alt=""><figcaption><p>Switch from 3D to 2D edit mode.</p></figcaption></figure>

The asset you wish to align must also be unsolved. If necessary, right-click on the asset in the Assets pane and select *Remove Solve* from the context menu.&#x20;

Now that your asset is unsolved, select it in the 3D Viewport, then select the rigid body that you wish to align it to. Once both assets are selected, click *Rigid Body* in the *Align To...* field.&#x20;

### Asset Dropdown Menu

By default, the Modify tab of the Builder pane is locked to the asset selected in the 3D Viewport. To change the asset from the Builder pane instead, click the <img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2F0djVtqsqLIJP0gPPjNtr%2Fimage.png?alt=media&#x26;token=ce52ab5f-afdf-4e72-96d2-99f05369c65f" alt="" data-size="line"> icon at the top of the Modify tab to unlock the drop-down list.&#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FQVOITWPGpYLhyHq4oUJp%2FBuilder%20Pane%20-%20Modify%20RB%20Asset%20selection%20locked.png?alt=media&#x26;token=bef2b18e-665c-422b-b5f2-9bfa633fa178" alt=""><figcaption><p>Asset Selection dropdown in Builder Pane Modify tab.</p></figcaption></figure>

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2Fyv9wpvEonlDNTZmpOOC6%2FBuilder%20Pane%20-%20Modify%20RB%20unlock%20asset%20selection.png?alt=media&#x26;token=1273b4b2-fde9-4a2a-aba7-e162335e9581" alt=""><figcaption><p>Asset Selection dropdown - unlocked.</p></figcaption></figure>

{% hint style="warning" %}
To work with [Marker Constraints](#marker-constraints) and/or [Marker Sticks](#marker-sticks), you must select the items you wish to modify in the 3D viewport.&#x20;
{% endhint %}

## Skeleton: Create

From the *Create* tab, select the Skeleton option from the *Type* dropdown menu. Here, you select which [Skeleton Marker Set](https://github.com/OptiTrack/GitBook-Wiki/blob/main/motive/Skeleton-tracking.md#placing-the-markers) to use, choose the calibration pose, and create the Skeleton model.

### Creating a Skeleton

**Step 1.**

Select a Skeleton Marker Set template from the *Template* drop-down menu. The Builder pane will display a Skeleton avatar that shows where the markers need to be placed on the subject for the selected template. When the [6 Rigid Body Skeleton](https://docs.optitrack.com/v3.1/markersets/rigid-body-skeleton-markerset) template is selected, the display will show where to place the rigid bodies. Right-click and drag the mouse to rotate the model view.&#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FWcbqwnSixlNYaXjVsBGa%2Fimage.png?alt=media&#x26;token=693a2bc2-9be7-4646-b54e-f43205b0ce83" alt="" width="308"><figcaption><p>Options to Create a Skeleton.</p></figcaption></figure>

**Step 2.**

Refer to the avatar and place the markers on the subject accordingly. For accurate placements, ask the subject to stand in the calibration pose while placing the markers. It is important that these markers get placed at the right spots on the subject's body for the best Skeleton tracking. Thus, extra attention is needed when placing the [Skeleton markers](https://github.com/OptiTrack/GitBook-Wiki/blob/main/motive/Skeleton-tracking.md#placing-the-markers).

{% hint style="info" %}
The magenta markers indicate the [segment markers](https://github.com/OptiTrack/GitBook-Wiki/blob/main/motive/Skeleton-tracking.md#segment-markers) that can be placed at a slightly different position within the same segment.
{% endhint %}

**Step 3.**

Double-check the marker counts and their placements. It may be easier to use the [3D viewport](https://docs.optitrack.com/v3.1/viewport#perspective-view) in Motive to do this. The Builder pane will track the detected markers.

**Step 4.**

In the Builder pane, once the number of *Markers Needed* and *Markers Detected* match, the Create button will become active. If Skeleton markers are not automatically detected, manually select them from the [3D perspective view](https://docs.optitrack.com/v3.1/viewport#perspective-view).

**Step 5.**

Assign a *Name* to the skeleton. Motive will use this name as a prefix when creating skeleton marker labels. You can also assign custom labels by loading previously prepared [marker-name XML](https://docs.optitrack.com/v3.1/motive-ui-panes/constraints-pane/constraints-xml-files) files after the skeleton is created.&#x20;

**Step 6.**

Next step is to select the Skeleton creation pose settings. Under the *Pose* section drop-down menu, select the desired calibration pose for defining the Skeleton. This is set to the T-pose by default. Note that the image in the Builder pane remains in A-pose regardless of your selection.

**Step 7.**

Ask the subject to stand in the selected calibration pose. Standing in a proper calibration posture is important because the pose of the created Skeleton will be calibrated from it. For more details, read the [calibration poses](https://github.com/OptiTrack/GitBook-Wiki/blob/main/motive/Skeleton-tracking.md#calibration-pose) section.

**Step 8.**

Click Create to create the Skeleton. Once the Skeleton model has been defined, confirm all Skeleton segments and assigned markers are located at expected locations. If any of the Skeleton segments seem to be misaligned, delete and create the Skeleton again after adjusting the marker placements and the calibration pose.

{% hint style="info" %}
**In Edit Mode**

If you are creating a Skeleton in the post-processing of captured data, you will have to [auto-label](https://docs.optitrack.com/v3.1/motive/labeling#auto-label) the Take to see the Skeleton modeled and tracked in Motive.
{% endhint %}

![Defining Skeleton from a Skelton Marker Set.](https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FOLc35qPe8eDWXtRO8Vce%2FBuilder%20Pane%20-%20Create%20Skeleton%20with%20Viewport.png?alt=media\&token=3a5ee9c2-3dc7-4cf4-93cd-d2e585fb0e42)

## Skeleton: Modify

### Recalibrate From Selection

**You can also select a Skeleton and use the CTRL + R hotkey to refresh the Skeleton tracking if needed.**

Existing Skeleton assets can be recalibrated using the existing Skeleton information. Basically, the recalibration recreates the selected Skeleton using the same Skelton Marker Set. This feature recalibrates the Skeleton asset and refreshes expected marker locations on the assets.

To recalibrate Skeletons, select all of the associated Skeleton markers from the perspective view along with the corresponding Skeleton model. Make sure the selected Skeleton is in a calibration pose, and click *Recalibrate*. You can also recalibrate from the context menu in the [Assets pane](https://docs.optitrack.com/v3.1/motive-ui-panes/assets-pane) or in the [3D Viewport](https://docs.optitrack.com/v3.1/viewport#perspective-view).

{% hint style="danger" %}
Skeleton recalibration does not work with Skeleton templates with added markers.
{% endhint %}

![Recalibrate from selected marker in the Assets pane. Click image to enlarge.](https://content.gitbook.com/content/uHClgoIWDmmoXSr2eD9q/blobs/kTs4CLpk5hcDDtFBdXFI/image.png) ![Recalibrate from selected marker in the Assets pane. Click image to enlarge.](https://content.gitbook.com/content/uHClgoIWDmmoXSr2eD9q/blobs/nobDQ8AsR7L7DXv5NH1h/image.png) ![Recalibrate from selected marker in the Perspective View pane. Click image to enlarge.](https://content.gitbook.com/content/uHClgoIWDmmoXSr2eD9q/blobs/xZQi7wBW2MbZTLwmbaXu/image.png)

## Trained Markersets: Create

In Motive 3.1, users can create assets from any object that is not a Rigid Body or a pre-defined Skeleton using the Trained Markersets feature. This article will cover the basics of creating and modifying a Trained Markerset asset from the Builder pane. Please refer to the [Trained Markersets](https://docs.optitrack.com/v3.1/motive/trained-markersets) article for more information on using this feature.&#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FV6K7D2Q5TqBSYUWCZXPm%2Fimage.png?alt=media&#x26;token=e8339aaf-2227-46bd-b849-8d48569c7638" alt="" width="563"><figcaption><p>Create a Trained Markerset asset from the Build pane.</p></figcaption></figure>

#### Steps

1. Attach an adequate number of markers to your flexible object. This is highly dependent on the object but should cover at least the outline and any internal flex points. e.g., if it's a mat, the mat should have markers along the edges as well as dispersed markers in the middle in an asymmetrical pattern.
2. Record the movements you want of the object, trying to get as much of the full range of motion as possible.&#x20;
3. In Edit mode, select the markers attached to the object.&#x20;
4. From the *Create* tab of the Builder pane, select *Markerset* as the Type. Name the asset, then click *Create from Selection*.&#x20;

### Trained Markersets: Train and Modify

Once the asset is created, use the Training function so Motive can learn the object's full range of motion and how it moves through 3D space. Click *Train from Take* then playback the .tak file created in step 2 of the asset creation. Use the *Clear* button to remove the asset's existing training.

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FHYuB7sHzWuBCFrUU35cm%2FScreenshot%202023-09-14%20183317.png?alt=media&#x26;token=d905ad26-7eb5-4a57-94d5-6a0fbc5edf9e" alt=""><figcaption><p>Builder Pane Modify Options for Trained Markersets.</p></figcaption></figure>

### Bones

In Motive, a Bone is a virtual structure that connects two joints and represents a segment of a virtual skeleton or Trained Markerset. To access these functions, select either the entire asset (to use the auto-generate option), or select the specific markers or bones that you would like to modify in the 3D Viewport.&#x20;

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FwByRqjcOrUlkt15tRVJp%2Fimage.png?alt=media&#x26;token=05842643-4327-4ee9-84b9-c585798d5344" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="100">Button</th><th>Function</th></tr></thead><tbody><tr><td><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FX1jT0Ly1PTPvFAuJd6Vl%2Fimage.png?alt=media&#x26;token=6b680e51-4fcf-4602-b240-1deab32de99f" alt="" data-size="line"></td><td>Auto-generates bones at flex points for the selected asset.</td></tr><tr><td><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FL5wRFLQw38ilIrFtPWkO%2Fimage.png?alt=media&#x26;token=53316ba9-42c1-455c-b074-2e11249dfd83" alt="" data-size="line"></td><td>Adds (+) or Removes (-) the selected bone(s).</td></tr><tr><td><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2Fhumi8evJ4euNaJVxk4KY%2Fimage.png?alt=media&#x26;token=846c2db4-7f0f-45de-8111-b96116a414a8" alt="" data-size="line"></td><td>Adds a bone chain between two selected bones. Whichever bone is selected first becomes the parent bone, the second becomes the child bone.</td></tr><tr><td><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FNH4byhnzjkPXEZyLwydV%2Fimage.png?alt=media&#x26;token=3f83c018-e7f1-45ca-b772-6b1dd5eb6264" alt="" data-size="line"></td><td>Unparents the selected bone or bones. This removes the bone chain between the bones.</td></tr><tr><td><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FWMsoCPslrVYVhTrRz46n%2Fimage.png?alt=media&#x26;token=73f1319f-98cb-4570-979d-9e30784d460f" alt="" data-size="line"></td><td>Reroots the selected child bone and makes it the parent in the bone chain. </td></tr></tbody></table>

### Marker Constraints

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FzEQvhJvIspT9eV8OmZUG%2FScreenshot%202023-09-14%20154223.png?alt=media&#x26;token=516055d8-f659-4143-ad52-903ef8549494" alt=""><figcaption></figcaption></figure>

You can add or remove marker constraints (referred to as [asset model markers](https://docs.optitrack.com/v3.1/motive/data-recording#marker-types-in-motive) in version 3.0 and earlier) from an asset using the Builder pane.&#x20;

#### **Steps**

1. From the Viewport visual options, enable selection of Marker Constraints.
2. Access the Modify tab on the Builder pane.
3. Select the asset whose marker constraints you wish to modify.
4. in the 3D Viewport, CTRL + left-click on a marker constraint that's associated with the selected asset. Click the <img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FPJDkiwXn67rrQE2TyWSS%2FAdd%20button.png?alt=media&#x26;token=3f972af3-05dc-4fdb-8b9a-b326e02733de" alt="" data-size="line"> button to add the marker constraint to the asset definition. To remove it, click the <img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FxO4xqqludmg35R0G8S3x%2Fimage.png?alt=media&#x26;token=6e1f80b9-017c-4fef-9dc7-5045d62eb2f9" alt="" data-size="line"> button.
5. On the Marker Constraints section of the Builder pane, click + to add the marker to the definition or - to remove the marker.
6. Use the Constraints pane to modify marker label and/or colors.

### Marker Sticks

<figure><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FR0FplUkMa2ZdyPU58iBM%2FBuilder%20Pane%20Marker%20Sticks.png?alt=media&#x26;token=eb096d35-5eae-41a0-a083-87de82c327ff" alt=""><figcaption></figcaption></figure>

Motive 3.1 includes the ability to modify Marker Sticks for all asset types, directly from the Builder pane. Select two or more of the asset's markers in the 3D Viewport to activate this tool set.&#x20;

<table><thead><tr><th width="100" align="center">Button</th><th>Function</th></tr></thead><tbody><tr><td align="center"><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FKEyGIZEZoNFaLXvr6xFh%2FScreenshot%202023-09-14%20163616.png?alt=media&#x26;token=72fb1869-e900-482a-8a6d-7b0d8b47d1c5" alt="" data-size="line"></td><td>Changes the color of the selected Marker Stick(s).</td></tr><tr><td align="center"><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FT2iNY47YRZBxkIgd8Ept%2FScreenshot%202023-09-14%20163633.png?alt=media&#x26;token=a823dbff-9abf-4992-91e1-449484079f15" alt="" data-size="line"></td><td>Autogenerates Marker Sticks for the selected Trained Markerset asset. </td></tr><tr><td align="center"><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2FFCOJJ1XVkEsXJwTlKxM5%2FScreenshot%202023-09-14%20163124.png?alt=media&#x26;token=5b6c8065-25d3-413b-8dce-458f9f61b742" alt="" data-size="line"></td><td>Connects all of the selected Markers to each other.</td></tr><tr><td align="center"><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2F0riBbSMAR8WRXcF0n315%2FScreenshot%202023-09-14%20163644.png?alt=media&#x26;token=3c29820e-23bb-43d9-b6b7-20edfdb5dcf7" alt="" data-size="line"></td><td>Creates Marker Sticks based on the order in which the markers were selected.</td></tr><tr><td align="center"><img src="https://2867085706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuHClgoIWDmmoXSr2eD9q%2Fuploads%2F7XvQiIA0jyp8D3oMOKc5%2FScreenshot%202023-09-14%20154836.png?alt=media&#x26;token=8cbe31f2-5577-46f4-844a-75ce09f792f8" alt="" data-size="line"></td><td>Removes the selected Marker Stick(s).</td></tr></tbody></table>
