Grid dimension mode: 2D vs 3D. This is the canonical type-safe representation for the host's dimensions configuration. Existing call sites can continue to use the enum members, and compatible aliases below preserve older Dimensions.DIMENSIONS_ calls.
Source: addons/grid_placement/systems/host/dimensions.gd
Syntax
class Dimensions extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
DIMENSIONS_2D | Field | Compatibility alias: preserves old `Dimensions.DIMENSIONS_2D` usage. |
DIMENSIONS_3D | Field | Compatibility alias: preserves old `Dimensions.DIMENSIONS_3D` usage. |
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot