Chris' Tutorials
Docs/Grid Placement

Class

ManipulationService2D

Generated GDScript class reference for GridPlacement.ManipulationService2D.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Scene-free manipulation service. Extracted from ManipulationSystem (6.0.0-S to make move/rotate/flip/demolish logic directly unit-testable without a scene tree. Handles the full manipulation lifecycle: move copy creation, rule validation, completion/placement, cancellation, rotation/flip/scale transforms, physics-layer management, and demolish. Signal emission and indicator signals (move_indicators_ready) stay on the hosting Node — the service emits them through injected callbacks. Usage: var service := ManipulationService2D.new() service.configure(states, manipulation_settings, actions, indicator_context, logger) var data := service.try_move(some_node)

Source: addons/grid_placement/systems/manipulation/manipulation_service_2d.gd

Syntax

class ManipulationService2D extends ManipulationServiceContract

Members

NameKindSummary
move_indicators_readyEvent
supported_dimensionsMethod
configureMethod
set_source_tree_exiting_callbackMethod
get_last_transform_denialMethod
set_statesMethod
try_moveMethod
failed_reasonProperty
sourceProperty
move_dataProperty
startedProperty
try_placementMethod
bad_move_resultsProperty
target_rootProperty
move_rulesProperty
ignore_baseProperty
validation_resultsProperty
setup_reportProperty
issuesProperty
vrProperty
old_transformProperty
manipulation_parentProperty
final_positionProperty
accumulated_rotationProperty
accumulated_scaleProperty
root_nodeProperty
bodyProperty
node2dProperty
applied_positionProperty
try_demolishMethod
cancelMethod
dataProperty
rotateMethod
denialProperty
manipulation_parentProperty
flip_horizontalMethod
denialProperty
manipulation_parentProperty
flip_verticalMethod
denialProperty
manipulation_parentProperty
get_targetedMethod
set_targetedMethod
is_readyMethod
move_dataProperty
manipulatableProperty
move_dataProperty
obj_settingsProperty
obj_settingsProperty
obj_settingsProperty
sourceProperty
move_dataProperty
failedProperty
rootProperty
kept_script_typesProperty
source_rotationProperty
source_scaleProperty
move_rulesProperty
ignore_base_rulesProperty
reportProperty
indicatorsProperty
physics_objectsProperty

Source

addons/grid_placement/systems/manipulation/manipulation_service_2d.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs