Single composition authority for 2D rule tiers: global -> group -> entry. Both the object path (PlacementValidator/IndicatorManager) and the terrain path (PlacementValidationPipeline) resolve through here; the executors stay separate where their runtime needs differ. Resolution is pure composition — no validation, no indicators, no scene access. Ignore semantics: an ENTRY-level ignore keeps only that entry's own rules (the entry author's explicit choice). A PROFILE-level ignore drops only the global/base tier — sibling-profile and entry rules survive, so one profile can never silently erase rules supplied by unrelated profiles.
Source: addons/grid_placement/placement/placement_rules/placement_rule_resolver.gd
Syntax
class PlacementRuleResolver extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
resolve_object | Method | |
resolved | Property | |
resolve_terrain | Method | |
resolved | Property | |
gate_rule | Property | |
any_profile_ignores_base | 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