Skip to content
ct

Class

CollisionProcessor2D

Generated GDScript class reference for GridPlacement.CollisionProcessor2D.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Unified Collision Processor Handles processing for both CollisionObject2D (with shapes) and CollisionPolygon2D. Converts collision geometry to relative tile offsets for indicator positioning. [b]CRITICAL:[/b] Must use positioner.global_position as coordinate reference to maintain relative offsets. Using collision object position causes positioning displacement. [b]📖 COMPLETE GUIDE:[/b] See docs/positioning-regression-fix-guide.md for coordinate system details.

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

Syntax

class CollisionProcessor2D extends PlacementInjectable

Members

NameKindSummary
GeometryCacheManagerField
invalidate_cacheMethod
resolve_placement_dependenciesMethod
get_runtime_issuesMethod
get_tile_offsets_for_collisionMethod
process_shape_offsetsMethod
calculate_tile_rangeMethod
compute_shape_tile_offsetsMethod