Skip to content
ct

Class

ManipulationService2D

Generated GDScript class reference for GridPlacement.ManipulationService2D.

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.

Scene-free manipulation service. Makes 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_readySignal
supported_dimensionsMethod
configureMethod
set_source_tree_exiting_callbackMethod
get_last_transform_denialMethod
set_statesMethod
try_moveMethod
try_placementMethod
try_demolishMethod
cancelMethod
rotateMethod
flip_horizontalMethod
flip_verticalMethod
get_targetedMethod
set_targetedMethod
is_readyMethod