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.EntryMembers
| Name | Kind | Summary |
|---|---|---|
footprint | Property | 3D entry: world-space footprint (AABB size), position, and yaw in radians. World-space axis-aligned footprint (size in world units). Set from ScenePlacementEntry.footprint_3d projected to world space. |
position | Property | World position of the placed object. |
rotation_yaw | Property | Rotation (yaw) in radians around the Y axis. |
get_world_aabb | Method | |
copy_for | Method | |
to_record | Method | |
to_debug_record | Method | |
can_occupy | Method | |
register | Method | |
update | Method |
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot