Skip to content

Class

CollisionMapper3D

Generated GDScript class reference for GridPlacement.CollisionMapper3D.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

Maps a 3D collision object to the set of grid cells its shape occupies. Call get_tile_offsets_for_collision() with a CollisionObject3D and GridMap; it resolves the shape and returns the affected Vector3i cell offsets.

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

Syntax

class CollisionMapper3D extends RefCounted

Members

NameKindSummary
configureMethod
get_tile_offsets_for_collisionMethod
offsetsProperty
resolutionProperty
shapesProperty
shape_posProperty
local_posProperty
cellProperty
get_collision_tile_positions_with_maskMethod
resultProperty
gridProperty
resolutionProperty
offsetsProperty
keyProperty
map_collision_positions_to_rulesMethod
resultProperty
gridProperty
default_maskProperty
positionsProperty
maskProperty
foundProperty
get_runtime_issuesMethod
invalidate_cacheMethod