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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
configure | Method | |
get_tile_offsets_for_collision | Method | |
offsets | Property | |
resolution | Property | |
shapes | Property | |
shape_pos | Property | |
local_pos | Property | |
cell | Property | |
get_collision_tile_positions_with_mask | Method | |
result | Property | |
grid | Property | |
resolution | Property | |
offsets | Property | |
key | Property | |
offsets | Property | |
shapes | Property | |
shape_pos | Property | |
cell | Property | |
map_collision_positions_to_rules | Method | |
result | Property | |
grid | Property | |
default_mask | Property | |
positions | Property | |
mask | Property | |
found | Property | |
get_runtime_issues | Method | |
issues | Property | |
invalidate_cache | Method |