Base class for object rules that check each tile the object covers.
Source: addons/grid_placement/placement/placement_rules/tile_check_rule.gd
Syntax
class TileCheckRule extends PlacementRuleMembers
| Name | Kind | Summary |
|---|---|---|
get_supported_actions | Method | |
apply_to_objects_mask | Property | Which of the placed object's collision layers this rule uses. The tiles covered by the object's collision shapes on these layers are checked. |
visual_priority | Property | When several rules fail on a tile, the failing rule with the highest priority and a fail_visual_settings decides the tile's look. |
fail_visual_settings | Property | Optional look for tiles where this rule fails. See visual_priority. |
indicators | Property | List of all indicators that are currently using the rule for evaluation. |
get_failing_indicators | Method | |
get_tile_positions | Method | |
tear_down | Method | |
get_editor_issues | Method | |
get_runtime_issues | 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