targeting_debug_user_mask10_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Debug test for user-reported issue: highlighting not working with mask 10 Reproduces scenario where TargetingShapeCast2D detects Area2D (ColTargetHighlighter) and StaticBody2D (GeyserPump) but target highlighting doesn’t work
Source File: /addons/grid_building/test/positioning/targeting/targeting_debug_user_mask10_test.gd
Extends: GdUnitTestSuite
Public Methods
test_debug_user_reported_mask_10_scenario
| |
test_mask_10_should_NOT_detect_layer_1_objects
| |
binary_string
| |
test_debug_promote_to_targetable_root_with_area2d_parent
| |
test_debug_collision_exclusions_interference
| |
Private Methods
_create_shape_cast
| |
Flags: private
Creates a TargetingShapeCast2D with the given shape size and collision mask.
_create_target_static_body
| |
Flags: private
Creates a StaticBody2D target object (like GeyserPump) on the given layer
_create_highlighter_area
| |
Flags: private
Creates an Area2D (like ColTargetHighlighter) on the given layer
Grid Building v5.0.8 | Generated 24/05/2026