Skip to content

Class

CollisionProcessor2D

Generated GDScript class reference for GridPlacement.CollisionProcessor2D.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

Unified Collision Processor Handles processing for both CollisionObject2D (with shapes) and CollisionPolygon2D. Converts collision geometry to relative tile offsets for indicator positioning. CRITICAL: Must use positioner.global_position as coordinate reference to maintain relative offsets. Using collision object position causes positioning displacement.

Source: addons/grid_placement/placement/manager/components/mapper/collision_processor_2d.gd

Syntax

class CollisionProcessor2D extends RefCounted

Members

NameKindSummary
invalidate_cacheMethod
resolve_placement_dependenciesMethod
get_runtime_issuesMethod
get_tile_offsets_for_collisionMethod
process_shape_offsetsMethod
calculate_tile_rangeMethod
compute_shape_tile_offsetsMethod