Studio Yotsuba
Back to Node List

Model Array

model_array

Creates linear, grid, or radial part instances while sharing immutable mesh and material assets.

Reviewed
Guide available

Input Ports

NameTypeDescription
Model
model
Model
Required
Generated polygon model to assemble without mesh booleans.

Output Ports

NameTypeDescription
Model
model
Model
Assembled game-ready polygon model.

Parameters

NameTypeDefaultRangeDescription / Options
Mode
mode
Enum
Linear—

Array placement mode.

  • LinearLinear
  • GridGrid
  • RadialRadial
Count
count
Int
31–256

Linear or radial instance count.

Columns
count_x
Int
31–64

Grid columns. The total grid instance count cannot exceed 256.

Rows
count_y
Int
31–64

Grid rows. The total grid instance count cannot exceed 256.

Spacing X
spacing_x
Float
1-256–256 / step 0.05

Per-instance x offset for Linear mode, or column spacing for Grid mode.

Grid Y Spacing
spacing_y_mode
Enum
LinkToX—

Choose whether Grid row spacing follows Spacing X or uses Spacing Y.

  • LinkToXLinkToX
    Use Spacing X for the grid row spacing.
  • CustomCustom
    Use the literal Spacing Y value for grid rows, including zero.
  • LegacyZeroLinksLegacyZeroLinks
    Compatibility mode for migrated v1 graphs: zero follows Spacing X and non-zero is literal.
Spacing Y
spacing_y
Float
0-256–256 / step 0.05

Per-instance y offset for Linear mode, or the literal Grid row spacing when Grid Y Spacing is Custom. Grid ignores this value in Link to X mode.

Spacing Z
spacing_z
Float
0-256–256 / step 0.05

Linear and Radial add this per instance. Grid uses (column + row) times this value.

Radius
radius
Float
20–256 / step 0.05

Radial array radius.

Start Angle
start_angle
Angle
0— / step 1

Radial start angle around z.

Sweep Angle
sweep_angle
Float
360-360–360 / step 1

Radial sweep in degrees.

Rotate Instances
rotate_instances
Bool
true—

Rotate radial instances around z with their placement angle.

Overview

Duplicates and arranges a model in a line, grid, or circle. Repeating elements such as fences, rows of pillars, and floor tiles are placed as instances that share their mesh and texture, keeping the model lightweight without duplicating data.

Usage tips

  • This is the Model counterpart to solid_array. Use it for repeated copies of the same part, such as fences, colonnades, and rows of spikes.
  • Because the instances share their source, replacing the original part's texture immediately updates the entire arrangement.
  • The instancing structure is preserved through model_gltf_export, keeping the asset efficient in the target engine.
  • A Grid is limited to 256 total instances (columns × rows). Changing one count updates the other count's available maximum. Saved or connected values over the limit produce a clear error instead of silently returning a partial grid.
  • Grid Y Spacing can follow Spacing X for square cells or use the literal Spacing Y value. Custom mode accepts zero, so rows can intentionally share one Y position. Link to X mode does not use the displayed Spacing Y value. Migrated v1 graphs with a connected Spacing Y use Legacy Zero-Link mode to preserve their behavior.
  • Spacing Z advances per instance in Linear and Radial modes. In Grid mode it uses (column + row) × Spacing Z. Exactly coincident instances show a Z-fighting warning.

Related nodes

  • solid_array — the equivalent for the pixel-art image workflow
  • model_box / model_cylinder / model_pyramid — base primitives to duplicate
  • model_gltf_export — exports the arrayed model
Back to Node List