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

1
create_trapezoid_from_runtime() -> PackedVector2Array

Flags: static

Factory method for creating the exact trapezoid from runtime analysis


before

1
before() -> void

before_test

1
before_test() -> void

after

1
after() -> void

after_test

1
after_test() -> void

test_trapezoid_collision_detection_integration

1
test_trapezoid_collision_detection_integration() -> void

Test that focuses on the trapezoid collision detection integration


test_collision_mapper_integration

1
test_collision_mapper_integration() -> void

Test the collision mapping integration specifically


test_full_indicator_generation_integration

1
test_full_indicator_generation_integration() -> void

Test the full indicator generation integration



Grid Building v5.0.8 | Generated 24/05/2026