Pure 3D placement geometry and key helpers, extracted from [ObjectPlacementService3D] so the edge/face math and the registry-key algebra live in one focused, stateless utility. Every method is static — the service passes in whatever context a helper needs (the GridMap, a pre-resolved surface height, the cell size) so the helpers never hold placement state.
Source: addons/grid_placement/systems/building/3d/object_placement_geometry_3d.gd
Syntax
class ObjectPlacementGeometry3D extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
NO_GROUND | Field | Sentinel matching [constant GridMap.INVALID_CELL_ITEM] column keys. |
column_key | Method | |
resolve_surface_height | Method | |
resolve_surface_item_name | Method | |
placement_position | Method | |
footprint_cells | Method | |
nearest_edge | Method | |
face_normal_from_ray | Method | |
edge_position | Method | |
edge_yaw | Method | |
face_position | Method | |
face_yaw | Method | |
edge_key | Method | |
face_key | Method | |
face_occupancy_key | Method | |
is_cardinal_face_normal | Method | |
mount_height_band | Method |