Exploring Grid Properties
Last updated
Last updated
In this section, we’ll explore the Easy Grid Builder Pro XZ Component and its key properties.
The Core Grid Properties section allows you to configure the fundamental attributes of your grid system, such as its dimensions and cell size.
Grid Width: Adjusts the number of cells along the X-axis.
Grid Length: Adjusts the number of cells along the Z-axis.
Cell Size: Defines the size of each grid cell.
To set up the grid for this tutorial use these settings:
Set Grid Width to 30 (cells along the X-axis).
Set Grid Length to 25 (cells along the Z-axis).
Set Cell Size to 2 (size of each cell).
Keep all other properties at their default values.
This section allows you to add Buildable Object ScriptableObject (SO) assets. These assets hold the data for objects that can be placed or built on the grid.
For now, we’ll skip this section and revisit it later in the documentation.
The Vertical Grid section enables you to create grids vertically above the base grid:
If using the XZ plane, vertical grids are offset along the Y-axis.
If using the XY plane, vertical grids are offset along the Z-axis.
By default the Vertical Grid Count is set to 1, meaning only the base grid is created. We don’t need vertical grids for our 3D city builder game. Keep all properties in this section at their default values. We’ll explore this feature in-depth in the Make a 3D Modular House Builder tutorial.
Make a 3D Modular House BuilderThe Grid Collisions section controls the collider properties for the grid, Each grid has a Box Collider used to calculate the grid area. Collider Size Multiplier property scales the collider size relative to the grid’s dimensions.
For this guide keep all grid collision properties at their default values.