Skip to content

Class

GridTargetingService3D

Generated GDScript class reference for GridPlacement.GridTargetingService3D.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

Scene-free 3D grid targeting service. 3D mirror of [GridTargetingService] (6.0.0-S, AStar-less for Wave B1). 6.0.0-3D-Surface (Wave B1.2): handles tileworld coordinate mapping, closest-valid-tile resolution, and targeting readiness validation for [GridMap]. AStarGrid3D integration is a follow-up (the 2D service's AStar integration is a 2026-06-13 hardening pass; the 3D path-manager mirror can land in Wave B1.5 or as a separate sub-task). Differences from the 2D service: - [Vector2i] / [Vector2] → [Vector3i] / [Vector3] - [TileMapLayer] → [GridMap] - [AStarGrid2D] / [PlacementAStarPathManager] deferred to a follow-up (3D path manager mirror not in Wave B1 scope) - [GridTargetingSettings] is reused as-is (the boolean toggles are dimension-agnostic; the 2D-specific AStar fields are simply not consulted in the 3D service) Signal emission + input handling stay on the hosting Node (the positioner). The service is pure logic over injectable state, parallel to the 2D service's contract.

Source: addons/grid_placement/systems/grid_targeting/grid_targeting_service_3d.gd

Syntax

class GridTargetingService3D extends TargetingServiceContract

Members

NameKindSummary
supported_dimensionsMethod
configure_for_3dMethod
configureMethod
move_node_to_closest_valid_tileMethod
move_to_tileMethod
get_tile_from_global_positionMethod
validate_readyMethod
get_targeting_issuesMethod
get_runtime_issuesMethod
get_target_mapMethod