Manipulation: System vs Parent (5.0)
This guide captures a key 5.0-era architecture rule:
- ManipulationSystem owns the business logic.
- ManipulationParent owns visual transforms and input-driven transform changes.
Why this split exists
5.0-era manipulation intentionally separates:
- system orchestration + lifecycle
- from scene transform concerns
So that:
- the system remains testable (as much as possible in the 5.0 architecture)
- the node hierarchy remains understandable
Responsibilities
| Component | Role | Owns | Does NOT own |
|---|---|---|---|
ManipulationSystem | Business logic layer | lifecycle, validation, state transitions, high-level API | direct visual transforms, scene hierarchy decisions |
ManipulationParent | Visual transform layer (Node2D) | rotation/flip/scale container, transform input handling, holds preview + indicators | orchestration rules/validation |
Scene hierarchy shape (5.0 mental model)
| |
Key implication
- Preview copies and indicators are transformed together by the parent, while the system enforces workflow rules.
This separation is a precursor to the later 5.1/6.0 direction: keep scene mutation localized and keep workflow logic centralized.