# Modular Architecture

## Types

### Compound Asset - Animator

#### 🟡 Medium

{% embed url="<https://www.youtube.com/watch?v=zmqZLTX0yts>" %}
[The Hex by Smobler Studios](https://www.youtube.com/watch?v=zmqZLTX0yts)
{% endembed %}

<table data-header-hidden><thead><tr><th width="700"></th></tr></thead><tbody><tr><td><p>ABOUT</p><ul><li>Multiple Models with tight collisions positioned and rotated to align perfectly with itself when placed as multiple objects (tessellating)</li><li>Includes at least one open area for player access, usually a surface broken into multiple models to leave a gap</li><li>Requires plenty of movement space (limit use of built-in furniture)</li></ul><p>PROS</p><ul><li>Flexible design applications</li><li>Exploration and quests inside</li><li>Visually attractive with smooth angled lines</li><li><a href="/pages/vKHOFTEVJMFhqMUCNiuC">Optimisation</a> is important since structure assets may be used frequently in one Experience by level designers</li></ul></td></tr></tbody></table>

## Notes

Do not add animations to a building that players are meant to enter. It will create a collision boundary around the whole Asset.

The most essential part of the design is the opening for the player to get into the structure. To do this, you must break down a wall into smaller sections and leave an opening without a Model that is the same scale as a door (single or double). Do not include a door in your design. The level designer will add a door and logic so players can get through the opening.

Add 2D texture and some 3D depth, but keep in mind this type of asset is usually lower priority in the visual hierarchy of an Experience unless it is important to the story.

## Recommended Workflow

Use geometry to plan and create beautiful, innovative designs.

1. Create a new project in the Animator and add a Control node in the skeleton on the left.
2. Create a new VXM in the Library and open it in the Modeler.
3. Create a 3D "sketch" of your Asset as this Model. Modify the collision boundary, create your asset, adjust the pivot point, and trim the volume. Save and exit the Model, then drag and drop it into the node you created.
4. Use the "sketch" Model to guide the shape of your rig. You can select voxels and choose "Save Selected Voxels" from the Edit menu to create new Models or create new ones in the Library. Trim, adjust the pivot point, and position Models you create into a skeleton of nodes in the Animator. Keep the total faces below 5,000 and nodes below 175.
5. To test the ability to use it multiple times like an interlocking piece of modular architecture, duplicate the control node for your project and position it where you intend it to interlock in Game Maker. Duplicate again to test in another position. You can easily delete the parent nodes you created and revert back to the original design. Test in Game Maker as well.

{% hint style="success" %}
**QUALITY & PERFORMANCE**

Follow [Quality Guidelines](/en/creator/voxedit/docs/ve-guidelines.md) to make the best version of your Asset.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sandbox.game/en/creator/voxedit/creative-guides/asset-guide/structures-and-landmarks/modular-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
