Stateless collaborator for placement-preview rotation/flip. Extracted from GridPlacementHost so the host stays an input-routing facade ("services do logic, sessions own state, host routes input"). Every method is static and takes its dependencies explicitly (the active PlacementSession, the ManipulationSettings, and the 3D flag) so this collaborator owns NO host-owned dictionaries and mutates nothing on the host — it only drives the session's ManipulationParent, which already hosts the preview. Future placement-preview transform changes belong here, not on the host.
Source: addons/grid_placement/systems/host/placement_preview_transform.gd
Syntax
class PlacementPreviewTransform extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
applies | Method | |
apply_rotation | Method | |
apply_flip | Method |
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