Marks one 3D grid cell as valid or invalid for the current placement. Assign validity_mesh and the two materials. Read is_valid() or connect to valid_changed.
Source: addons/grid_placement/placement/rule_check_indicator/rule_check_indicator_3d.gd
Syntax
class RuleCheckIndicator3D extends ShapeCast3DMembers
| Name | Kind | Summary |
|---|---|---|
valid_changed | Signal | Emitted when the cell changes between valid and invalid. |
validity_mesh | Property | Mesh that shows the valid or invalid material. One is created when empty. |
show_indicators | Property | Whether validity_mesh is visible. The cell is still checked while hidden. |
valid_material | Property | Material shown when the cell is valid. |
invalid_material | Property | Material shown when the cell is invalid. |
DEFAULT_TARGET_HEIGHT | Field | |
force_shapecast_update | Method | |
set_valid | Method | |
is_valid | Method |
Guides that use this class
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