> For the complete documentation index, see [llms.txt](https://docs.meshmorpher.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meshmorpher.com/runtime/create-from-mesh-files/create-morph-target-from-mesh-files.md).

# Create Morph Target from Mesh Files

Grabs the deltas between Base and Morph files and projects them on the Target Mesh and creates a Morph Target on the Target Skeletal Mesh.\
This node requires Base and Morphed files to be FBX/OBJ format.\
Base and Morphed files are required to have same vertex count and order.\
Morph Targets are projected on all Target Mesh LODs.\
Projection is multi-threaded but can be very intensive on meshes with big data.

{% hint style="warning" %}
Unreal Engine 5.0.X requires ***`Use GPU for computing morph targets`*** disabled in project settings. This doesn't apply for UE 5.1 and above.&#x20;
{% endhint %}

<figure><img src="/files/z2BQ9PfukWKoihViDr89" alt="GPU morph targets computing settings"><figcaption></figcaption></figure>

{% hint style="warning" %}
Creating Morph Targets at runtime will invalidate existing Morph Targets available in editor.&#x20;
{% endhint %}

<div align="left"><figure><img src="/files/xUEsJZlK7iVtbQQsTt5M" alt="Create Morph Targets at runtime from Mesh Files"><figcaption></figcaption></figure></div>

#### Inputs

| Parameter                                                                           | Description                                                                                                                                   |
| ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Base File</p><p><code>Mesh Morpher FBXInput Structure (by ref)</code></p>        | FBX File and Import Settings of the Base FBX.                                                                                                 |
| <p>Morphed File</p><p><code>Mesh Morpher FBXInput Structure (by ref)</code></p>     | FBX File and Import Settings of the Morph FBX.                                                                                                |
| <p>Name</p><p><code>Name</code></p>                                                 | Morph Target Name.                                                                                                                            |
| <p>Target Mesh</p><p><code>Skeletal Mesh Object Reference</code></p>                | Target Mesh to project Standalone Morph Targets on.                                                                                           |
| <p>Max LOD</p><p><code>Integer</code></p>                                           | Maximum LOD Index on the Target Mesh to project the Morph Targets                                                                             |
| <p>Vertex Threshold</p><p><code>Float (double-precision)</code></p>                 | Maximum Distance threshold between a vertex in the target mesh and a vertex in source mesh, at which they are considered to be correspondent. |
| <p>Normal Incompatibility Threshold</p><p><code>Float (double-precision)</code></p> | Normal threshold at which a triangle is deemed as incompatible. This helps to avoid triangle flipping during Projection.                      |
| <p>Smooth Iterations</p><p><code>Integer</code></p>                                 | Smooth Iterations steps used to Smooth the resulted Projected Deltas.                                                                         |
| <p>Smooth Strength</p><p><code>Float (double-precision)</code></p>                  | Smooth Strength used to Smooth the resulted Projected Deltas.                                                                                 |
| <p>Smooth Type</p><p><code>EMeshMorpherSmoothTypes Enum</code></p>                  | Smooth Type used to Smooth the resulted Projected Deltas.                                                                                     |

#### Outputs

| Parameter                                      | Description                                                |
| ---------------------------------------------- | ---------------------------------------------------------- |
| <p>Return Value</p><p><code>Boolean</code></p> | Returns true if the Morph Target was successfully created. |
