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.
Static utility methods for collision mapping.
Source: addons/grid_placement/placement/manager/components/mapper/collision_utilities_2d.gd
Syntax
class CollisionUtilities2D extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
get_rect_tile_positions | Method | |
tile_positions | Property | |
tile_size | Property | |
center_tile | Property | |
tiles_wide | Property | |
tiles_high | Property | |
tiles_left | Property | |
tiles_right | Property | |
tiles_up | Property | |
tiles_down | Property | |
tile_coords | Property | |
does_indicator_overlap_shape | Method | |
indicator_shape | Property | |
owner_transform | Property | |
col_obj | Property | |
indicator_transform | Property | |
object_matches_layer_mask | Method |
Source
addons/grid_placement/placement/manager/components/mapper/collision_utilities_2d.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs