Stateless helpers for 3D collision/grid math: world-to-cell conversion, cell-center lookup, and collision-layer bitmask expansion. All methods are static and tolerate a null GridMap (falling back to unit-cell assumptions).
Source: addons/grid_placement/placement/manager/components/mapper/collision_utilities_3d.gd
Syntax
class CollisionUtilities3D extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
get_tile_positions_from_global | Method | |
get_tile_center_world | Method | |
get_layers_from_bitmask | Method | |
layers | Property | |
object_matches_layer_mask | Method | |
snap_position_to_grid | Method | |
cell | Property | |
get_used_bounds | Method | |
used | Property | |
min_cell | Property | |
max_cell | Property |