Skip to content
ct

Class

CollisionMapper3D

Generated GDScript class reference for GridPlacement.CollisionMapper3D.

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.

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
offsetsProperty
shapesProperty
shape_posProperty
cellProperty
map_collision_positions_to_rulesMethod
resultProperty
gridProperty
default_maskProperty
positionsProperty
maskProperty
foundProperty
get_runtime_issuesMethod
issuesProperty
invalidate_cacheMethod