trapezoid_collision_integration_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Integration test for trapezoid shape collision detection in the runtime environment This test specifically reproduces the issue where the trapezoid shape from the demo is not generating rule check indicators at the bottom left and bottom right positions despite the unit tests passing for the collision geometry calculations.
Source File: /addons/grid_building/test/collision/geometry/trapezoid_collision_integration_test.gd
Extends: GdUnitTestSuite
Private Properties
- Property:
_runner: GdUnitSceneRunner(private) - Property:
_env: [BuildingTestEnvironment](./building-test-environment/)(private) - Property:
_collision_mapper: [CollisionMapper](./collision-mapper/)(private) - Property:
_targeting_state: [GridTargetingState](./grid-targeting-state/)(private) - Property:
_indicator_manager: [IndicatorManager](./indicator-manager/)(private)
Constants
- Constant:
TRAPEZOID_POSITION: Vector2 = Vector2(440, 552) # From runtime scene analysis
Public Methods
create_trapezoid_from_runtime
| |
Flags: static
Factory method for creating the exact trapezoid from runtime analysis
before
| |
before_test
| |
after
| |
after_test
| |
test_trapezoid_collision_detection_integration
| |
Test that focuses on the trapezoid collision detection integration
test_collision_mapper_integration
| |
Test the collision mapping integration specifically
test_full_indicator_generation_integration
| |
Test the full indicator generation integration
Grid Building v5.0.8 | Generated 24/05/2026