Adapter/contract interface for the manipulation service (6.0.0-S). 6.0.0-211 and 6.0.0-210: the 2D and 3D manipulation services answer the same capability surface so the host and the service group never branch on concrete type. The 3D service is dimension-scoped and the factory wires it accordingly. Shared dependency storage and the move-precondition / demolish lifecycle live here so both services stay consistent without copy-paste drift. Dimension-specific operations (transform math, indicator wiring, physics-layer management) remain in the concrete services.
Source: addons/grid_placement/services/contracts/manipulation_service_contract.gd
Syntax
class ManipulationServiceContract extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
supported_dimensions | Method | |
configure | Method | |
set_states | Method | |
get_targeted | Method | |
set_targeted | Method | |
set_demolish_projection_callback | Method | |
set_dependent_gate_callback | Method | |
cancel | Method | |
try_demolish | Method | |
get_last_transform_denial | Method | |
rotate | Method | |
flip_horizontal | Method | |
flip_vertical | Method | |
is_ready | Method | |
try_move | Method | |
try_placement | 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