# Trace Sources

### Physics Asset

Selecting Physics Asset automatically reveals a field named "Socket or Bone Name.”

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FOeLRq9yGDlOtrW2EBEZJ%2FUntitled.png?alt=media&#x26;token=24c34b84-3e4c-4f08-9bb2-984537f12481" alt="" width="563"><figcaption></figcaption></figure>

Input the bone name (e.g., "hand\_r" for the default UE5 mannequin) to match the shape of the Tracer to connected physics asset.

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2F87HYvMjI9wh79rfNE4fs%2FUntitled.png?alt=media&#x26;token=e09aa60b-0e27-4b1a-9477-1fb8faf8b867" alt="" width="563"><figcaption></figcaption></figure>

Ensure proper initialization in Begin Play by providing a skeletal mesh containing the specified bone.

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FOERteTyN6a6DuoL9FWEE%2FUntitled.png?alt=media&#x26;token=8d015437-02d5-463f-b262-a319bb06eaec" alt="" width="375"><figcaption></figcaption></figure>

### Mnh Shape Component

Mnh Shape Component allows for settıng up hitboxes through collision components.

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FxhGVtOEOUt9Yt9mCszTl%2FScreenshot_2023-12-29_100703.png?alt=media&#x26;token=4228ffb6-a1f4-458a-8c54-cf6a68624720" alt=""><figcaption></figcaption></figure>

Add "Mnh Box," "Mnh Capsule," or "Mnh Sphere" based on preferences.

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FAOeXy1frStPalUH2xlvJ%2FUntitled.png?alt=media&#x26;token=8a9d3d76-c6df-4f95-909b-8da38164e1e9" alt="" width="335"><figcaption></figcaption></figure>

In this example, “Mnh Box” is chosen. And is attached to StaticMesh

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FU6phFf2NPoNKXEoGdE2W%2FUntitled.png?alt=media&#x26;token=91b24402-362e-4142-873f-6951c6d5eda5" alt="" width="320"><figcaption></figcaption></figure>

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2F7pRM4lvStAbDwMjfVo91%2FUntitled.png?alt=media&#x26;token=573ee8f2-6e81-4e07-9c81-c22a923ddeb7" alt="" width="375"><figcaption></figcaption></figure>

Adjust the transformation parameters of Mnh Shape Component as desired.

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FIGVxVKksKAPgsDH1mJy8%2FUntitled.png?alt=media&#x26;token=c5b57b9c-33a9-46de-8dc1-e7b00c6fcd26" alt="" width="375"><figcaption></figcaption></figure>

Supply Mnh Trace Shape component as the Tracer source using the Initialize Tracer function in Begin Play.

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2Fply78q0fp3TCZXJw3HmK%2FUntitled.png?alt=media&#x26;token=5033a014-677e-450a-b152-4e5dccc08cb0" alt="" width="365"><figcaption></figcaption></figure>

### Anim Notify

Allows for denotation of hitboxes within Animation Sequences

1. Locate the specific points in the timeline where you want to trigger the "Mnh Anim Notify Tracer" Notify State. These are typically moments in the animation where an attack happens. Such as sword swing.
2. Right-click on the desired timeline frame where you want to add the Notify State.
3. From the context menu, select "Add Notify State" and choose "Mnh Anim Notify Tracer."

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2F2bvaeS0mkDfe3mskAYTw%2FUntitled.png?alt=media&#x26;token=3f339b59-58f7-45e2-a2b9-08bf75f049d6" alt="" width="563"><figcaption></figcaption></figure>

Adjust Tracer parameters to achieve desired hitbox.

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FgezI0JlQqkHcPXjpwmQT%2FUntitled.png?alt=media&#x26;token=c378e2b2-0ef9-479c-a7d8-da6aec20e693" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FPHebUrSHeJ3umr4OgyLK%2FUntitled.png?alt=media&#x26;token=279e22a9-8454-4eb0-8ba7-a1b8dad565a5" alt="" width="375"><figcaption></figcaption></figure>

Make sure you set Skeletal Mesh as the Trace Source in BeginPlay

<figure><img src="https://2614465389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhXtfCgw8FokTHnCnF7So%2Fuploads%2FoCEqM4ltSHL1hMcxkdEi%2FUntitled.png?alt=media&#x26;token=deb3033c-a3e9-420a-9a63-91d1c98880fc" alt="" width="375"><figcaption></figcaption></figure>
