Skip to content

Class

SmoothOccupancyRegistry3D

Generated GDScript class reference for GridPlacement.SmoothOccupancyRegistry3D.

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.

3D smooth occupancy registry. Authoritative spatial tracking for smooth/free 3D placement. This is the primary validation layer: physics queries are available separately as an optional validator. Entry bookkeeping, snapshots and the projection rebuild live in [SmoothOccupancyRegistry]; this class owns the 3D geometry.

Source: addons/grid_placement/services/smooth_occupancy_registry_3d.gd

Syntax

class SmoothOccupancyRegistry3D extends SmoothOccupancyRegistry.Entry

Members

NameKindSummary
footprintProperty3D entry: world-space footprint (AABB size), position, and yaw in radians. World-space axis-aligned footprint (size in world units). Set from [member ScenePlacementEntry.footprint_3d] projected to world space.
positionPropertyWorld position of the placed object.
rotation_yawPropertyRotation (yaw) in radians around the Y axis.
get_world_aabbMethod
copy_forMethod
to_recordMethod
to_debug_recordMethod
can_occupyMethod
registerMethod
updateMethod