> For the complete documentation index, see [llms.txt](https://hiveminddocs.gitbook.io/hivemind/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hiveminddocs.gitbook.io/hivemind/code-systems/ultimate-building-system-framework-ubs/using-your-own-meshes.md).

# Using your own Meshes

To set up your own meshes as buildable objects in the **Ultimate Building System**, follow these simple steps:

## **Open the Mesh**

Open the mesh you want to use in the Unreal Engine editor.

## **Add Sockets**

Add the necessary sockets to your mesh that will act as snapping points during the building process.

## **Rename the Sockets**

Rename each socket to include the **Socket Name** from the **Building System Project Settings**. By default, this is set to `P_Socket`.\
For example, you can name a group of sockets:

* `P_Socket_Foundation_Forward`
* `P_Socket_Foundation_Back`
* `P_Socket_Foundation_Left`
* `P_Socket_Foundation_Right`

{% hint style="info" %}
Ensure that the socket name always includes the `"P_Socket"` portion or the custom name you have defined in your **Project Settings**.
{% endhint %}

## **Align the Sockets' X Axis**

Make sure each socket’s X Axis is pointing in the direction you want it to snap:

* For snapping between foundations, the X Axis should point **away from the foundation**.
* For snapping a wall on top of a foundation, the X Axis should point **upwards**, towards the top of the foundation.

![Foundation Mesh with Sockets set up for usage with UBS](/files/vEJOJRFcL2wqw9gLPOoz)

By following these steps, your custom meshes will be ready to integrate into the building system and snap together correctly.
