Scene-free placement instantiator service. Replaces the old PlacementInstantiator Node class (removed in 6.0). 2 add_child calls preserved: the parent is read from _placement_state.placed_parent, which the host wires in resolve_dependencies. Hosted by GridPlacementHost.
Source: addons/grid_placement/services/placement_instantiator_service.gd
Syntax
class PlacementInstantiatorService extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
DEFAULT_NAME | Field | |
WARNING_INVALID_ENTRY | Field | |
WARNING_NO_PREVIEW | Field | |
resolve_placement_dependencies | Method | |
get_runtime_issues | Method | |
instantiate_building | Method | |
transfer_preview_facing | Method |
Guides that use this class
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