Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.
Helpers to normalize tile coverage and prune borderline tiles for mapper heuristics. Keep shape-size magic numbers out of the CollisionMapper2D by centralizing tile-range adjustments and pruning logic here.
Source: addons/grid_placement/utils/placement_collision_tile_filter.gd
Syntax
class PlacementCollisionTileFilter extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
adjust_rect_tile_range | Method | |
tiles_w | Property | |
tiles_h | Property | |
width_half_span | Property | |
height_half_span | Property | |
new_start | Property | |
new_end_exclusive | Property | |
circle_tile_allowed | Method | |
allowance | Property |
Source
addons/grid_placement/utils/placement_collision_tile_filter.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs