Skip to content
ct

Class

ObjectPlacementGeometry3D

Generated GDScript class reference for GridPlacement.ObjectPlacementGeometry3D.

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.

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 RefCounted

Members

NameKindSummary
NO_GROUNDFieldSentinel matching [constant GridMap.INVALID_CELL_ITEM] column keys.
column_keyMethod
resolve_surface_heightMethod
resolve_surface_item_nameMethod
placement_positionMethod
footprint_cellsMethod
nearest_edgeMethod
face_normal_from_rayMethod
edge_positionMethod
edge_yawMethod
face_positionMethod
face_yawMethod
edge_keyMethod
face_keyMethod
face_occupancy_keyMethod
is_cardinal_face_normalMethod
mount_height_bandMethod