Skip to content
ct

Class

CollisionUtilities3D

Generated GDScript class reference for GridPlacement.CollisionUtilities3D.

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.

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 RefCounted

Members

NameKindSummary
get_tile_positions_from_globalMethod
get_tile_center_worldMethod
get_layers_from_bitmaskMethod
layersProperty
object_matches_layer_maskMethod
snap_position_to_gridMethod
cellProperty
get_used_boundsMethod
usedProperty
min_cellProperty
max_cellProperty