Terrain rule: blocks painting where the terrain's tile collision would overlap something. On feature layers (such as fences), also blocks painting over placed objects.
Source: addons/grid_placement/placement/placement_rules/template_rules/tile_paint_collision_rule.gd
Syntax
class TilePaintCollisionRule extends TilePaintRuleMembers
| Name | Kind | Summary |
|---|---|---|
error_message | Property | Message shown when the rule fails. %s is replaced with the cell. |
validate_cell | Method |
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