> For the complete documentation index, see [llms.txt](https://qwertystudio.gitbook.io/massive-dungeon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://qwertystudio.gitbook.io/massive-dungeon/customize-your-dungeon/custom-meshes.md).

# Custom meshes

Massive Dungeon comes with a collection of meshes, but you will probably want to use some custom meshes. Those meshes can be replaced by changing the Dungeon data asset on the dungeon blueprint you placed.

Create a new data asset, then create a new PDA\_Dungeon

<figure><img src="https://871981436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkNLO6u2ZXXB8ySGn5Epu%2Fuploads%2FC1gs2g04EV7Zsrj6k8n1%2Fimage.png?alt=media&amp;token=d079b852-f3a4-416f-988f-02963b83439a" alt="" width="375"><figcaption></figcaption></figure>

If you look at the demo content PDA\_DungeonMesh it will look like this...

<figure><img src="https://871981436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkNLO6u2ZXXB8ySGn5Epu%2Fuploads%2FTB9dRon0KoyDspqewjYc%2Fimage.png?alt=media&amp;token=bde5cbb4-97e1-44ee-ac86-408bfb2891c1" alt=""><figcaption></figcaption></figure>

Let open the wall section

<figure><img src="https://871981436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkNLO6u2ZXXB8ySGn5Epu%2Fuploads%2FvOzBdLTbGX0mL9jxM3f7%2Fimage.png?alt=media&amp;token=41f7ad1c-ce30-41ca-bc3a-48955df78084" alt=""><figcaption></figcaption></figure>

Every meshes has a ***"Weight",*** this is used to determine the chance of a mesh to spawn versus another. For example, if you have 5 variation of floor tiles, you can decide that one tile will spawn more than another depending of the weigh. Higher = more chance to spawn.

The other values are the transforms if you want to fine-tweak its positioning.

### Wall with door

Wall - Door have a very similar logic, but the database allows you do add a frame and a door blueprint.

<figure><img src="https://871981436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkNLO6u2ZXXB8ySGn5Epu%2Fuploads%2FxGHmFP5IBWHjabxfqo8B%2Fimage.png?alt=media&amp;token=11c06804-62f8-436a-a80c-27c5c75139a0" alt=""><figcaption></figcaption></figure>

### Pivot point

Some assets have their pivot point near the edge, others near the center, etc... If you want to make your life easier and not tweak the meshes too much, I recommend the following placement of the pivot

Wall (Wall with doors) and ramps -> Center-middle

Floor and roof -> Center

Here is an example for walls

<figure><img src="https://871981436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkNLO6u2ZXXB8ySGn5Epu%2Fuploads%2F5fCHu0vnp4RY5fwUTr90%2Fimage.png?alt=media&amp;token=8b5ff606-0d3f-416e-babb-d80fe2d6fad0" alt=""><figcaption></figcaption></figure>

See the section "[Changing the pivot point](/massive-dungeon/customize-your-dungeon/changing-the-pivot-point.md)" to learn how to easily modify it.
